HTML Elements

by Yogesh Khanna 14-Feb-17

0 1582

An HTML element is specified by a start tag. If the element comprises the other content, it closes with an end tag, where the element name is defined by a forward slash, you can see below the tags:

<p> </p> => This is paragraph content.

<h1> </h1> => This is heading content.

<div> </div> => This is division content.

Note: A personal piece of advice, buy this book that will help you to get insights into HTML

So, the above HTML elements have end tags, but, there are a few HTML elements which don't require to be closed, such as <img.../>, <hr /> and <br /> elements.

These are called as void elements.


Discount Coupons

Leave a Reply


    Waiting for your comments