HTML Elements


An HTML element consists of a start tag and end tag, with the actual data content inserted in between them

eg

<!DOCTYPE html>
<html>
<body>

<h1>Heading</h1>
<p>Paragraph.</p>
<a href="https://www.ourcoaching.com/">Click me now</a>
<img src="https://www.ourcoaching.com/images/ourcoaching-bg.png">
</body>
</html>

output of above code:



An element is defined by a starting tag and is closed with an ending tag.

<tag data>actual content<close tag>

HTML tags are case insensitive.



Related Tutorials