Saturday, 13 September 2014

Differences between common terms used in INTERNET PROGRAMMING.

1) Container tag vs. Empty tag.
* Container tag :-
  • Container tag are the one which need an opening tag as well as a closing tag.
  • for example, <html> </html> or <ul> </ul>
* Empty tag :-

  • Unlike container tag, Empty tags do not need an closing tag.
  • for example <br> or <hr>
2) Local link vs. External link.
 * Local link :-
  • Local link are the links which are linked to another web-page of the same website.
  • for example, <a href="geeksandgeeks.blogspot.in/2014/09/spend-your-precious-time-on-internet.html"> link </a>
* External link :-
  • External links are the one which are linked to another website on internet.
  • for example, <a href="google.com"> google </a>
3) Image vs Image map.
* Image :-
  • An image tag is used to hold a simple image on your webpage.
  • for example, <img src="image.jpg">
* Image map :-
  • An image map is a tag used to map out specific region on a image which provides links to other pages, based on where on the image is clicked.
  • for example, <img src="image.jpg" usemap="#imap">                                                      
                           <map name="imap">                                                                                     
                            <area shape="rect/cicle/poly" coords="..." href="link.html">
                          </map>
4) Static websites vs. Dynamic websites.
* Static websites :-
  • Static websites contains fixed number of pages, format and content.
  • This type of sites are created with HTML, CSS
  • For example, Any organizational site.
* Dynamic websites :-
  • Dynamic webpages can change their content dynamically while the page is running on browser.
  • For example, Any E-commerce website.
5) Internet vs. Intranet.
* Internet :-
  • Internet is a worldwide interconnection of all smart communication devices.
* Intranet :-
  • Intranet is privately owned pat of internet under which only selected IPs are allowed to communicate.
6) Relative path vs. Absolute path.
* Relative path :-
  • If the file referred is on same/current server, the path of the file is relative path.
  • For example, D/studies/Internetprogramming/file.html
 * Absolute path :-
  • If the file referred is on other server or on internet, the path of the file is absolute path.
  • for example, google.images/worldmap.jpg
7) HTTP vs. HTTPS.
* HTTP :-
  • HTTP( hyper text transfer protocol) takes care of communication between a web server and a web browser,
*HTTPS:- 
  • It does the same task as HTTP, securely.
8) href vs. src.
*href:-
  • href attribute specifies the location of a web resource, thus defining a link
  • for example, <a href="geeksandgeeks.blogspot.in"> My blog </a>
* src:- 
  • src attribute embeds the resource in the current document at the location of defination.
  • for example, <img src="image.jpg">
9) Frameset vs. frame.
* Frameset:-
  • Frameset tag is used for grouping of frames
*Frame :-
  • Frame defines what document is going to be in the frame

No comments:

Post a Comment