SOME IMPORTANT RULES IN HTML

 1. HTML is a language which works on the function of markup tags.

2. Tags can be of two types :- 

(a) Container Tag

(b) Empty Tag

 

(a) CONTAINER TAG - 

The Tags which contain both 'on' and 'off' tags are called container tags. For Eg. <body>, <font>, <b> etc.


(b) EMPTY TAG - 

The Tags which contain only the 'on' tag are known as empty tags. For Eg. <br>, <img> etc.


3. ATTRIBUTES - 

An Attribute is used with a tag used to define specific details to it.


4.HTML Editors are of two types - 

(a) Text Editor (Notepad, Wordpad etc.)

(b) WYSIWYG Editor (MS Expression Web, Adobe Dreamweaver etc.)



Comments