main html tags list code example

Example 1: html elements list

The basic elements of an HTML page are:

A text header, denoted using the <h1>, <h2>, <h3>, <h4>, <h5>, <h6> tags.
A paragraph, denoted using the <p> tag.
A horizontal ruler, denoted using the <hr> tag.
A link, denoted using the <a> (anchor) tag.
A list, denoted using the <ul> (unordered list), <ol> (ordered list) and <li> (list element) tags.
An image, denoted using the <img> tag
A divider, denoted using the <div> tag
A text span, denoted using the <span> tag

Example 2: html basic tags

<head></head>
<body></body>
<title></title>
<h1></h1><h6></h6>
<p></p>
<ol><li></li></ol>
<ul><li></li></ul>
<img src="" alt="">
<a href=""></a>
<!-- Comment -->

Tags:

Html Example