Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.



Get Started Now!

What is the difference between HTML elements and tags?

HTML

HTML Tags: HTML tags are the beginning and ending parts of an HTML element. They are eliminated starting from a symbol. Inside the is also written that tag.

Example:

<html> </html>, <body> </body>, <br>, <hr> , <img>

HTML element: The content in the middle of an HTML tag is called an HTML element. They have some kind of structure or expression. It usually consists of a start tag, content, and an end tag.

Example:

<p> This is paragraph</p>

<h1>Hi this is the answer</h1>

<title>My website</title>

<br> Line break

<hr> Horizontal Line

<b>It is the example of Html element</b>

ElementWith tags
Paragraph<p>This is paragraph</p>
Heading<h1>This is heading</h1>
Title<title>My website</title>
Line break<br>
Horizontal Line<hr>

Code

<!DOCTYPE html>
<html>
<body>

<h1>This is The DevOpsSchool</h1>
<p>DevOpsSchool is one of the largest DevOps Training provider for beginners.</p>

</body>
</html>

Result

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x