Free Source Code and Tutorials

Custom Search

HTML elements

HTML elements are always enclosed in opening and closing tags.


For heading:

  1. <h1> Heading</h1>

It is imperative to use the closing tag.However ,there are some HTML elements that don’t need a closing tag such as <img…/>, <hr /> and <br />.These are known as void elements.


Nested HTML elements


  1. <!DOCTYPE html>
  3. <h1> Heading</h1>
  4. <p>paragraph<i>italic</i></p>
  6. </body>
  7. </html>
Facebook Comments
(Visited 1 times, 1 visits today)
Share this

Check Your Domain Ranking

Leave a Reply

Your email address will not be published. Required fields are marked * © 2016 Frontier Theme

Subscribe For Latest Updates

Signup for our newsletter and get notified when we publish new articles for free!

%d bloggers like this: