Monday, 15 June 2020

#3 HTML ELEMENTS

Bonjour !๐Ÿ˜ (Hello in French Language ....)

Let's learn more about HTML elements..

Nested HTML Elements


HTML allow us to keep one HTML element inside another HTML element.
 Ex.

<!DOCTYPE html>
<html>
<body>

<h1>First Heading</h1>
<p>first paragraph.</p>
</body>
</html>

Nested HTML Element Example



Important Points:- 

  • HTML is not case sensitive i.e. <A> is same as <a>  ,but it is good practice to use lowercase
  • Never forget to put End tag (eg. <a>.....</a>) unexpected result and errors occurs if you forget the end tag....(Like little-bit IOC ๐Ÿงช exception is also here ๐Ÿ˜€  i.e. Empty HTML Elements)
  •  Empty HTML Elements , Tags with starting tag but not with end tag. Eg.  <br> , <input> , <img> , <meta>, <link> , <area>,<col>,<hr> and more...... (Google it !!๐Ÿ˜… i don't remember all the tags..)  
  • Go through the link for more tags https://en.wikipedia.org/wiki/Category:HTML_tags   you can't remember all the tags at once or you  need not to remember all the tags .... just practice more and more and we will go through all the necessary tags..
  • Remember a HTML file starts with <!Doctype html><html> and ends with </html>  .. and the content to be display should be written inside body tag..i.e.  <body>...........</body>.
Next we will going to learn Attributes ....... addio ๐Ÿ˜ (bye in italian )






*IOC -Inorganic Chemistry

No comments:

Post a Comment