1) Container tag vs. Empty tag.
* Container tag :-
* Local link :-
* External link :-* 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>
- Unlike container tag, Empty tags do not need an closing tag.
- for example <br> or <hr>
* 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 links are the one which are linked to another website on internet.
- for example, <a href="google.com"> google </a>
* Image :-
- An image tag is used to hold a simple image on your webpage.
- for example, <img src="image.jpg">
- 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.
* 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.
* 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
- 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
* HTTP :-
- HTTP( hyper text transfer protocol) takes care of communication between a web server and a web browser,
- It does the same task as HTTP, securely.
*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 attribute embeds the resource in the current document at the location of defination.
- for example, <img src="image.jpg">
* Frameset:-
- Frameset tag is used for grouping of frames
- Frame defines what document is going to be in the frame
No comments:
Post a Comment