MOTOSHARE 🚗🏍️

Rent Bikes & Cars Directly from Owners

Motoshare connects vehicle owners with people who need bikes and cars on rent. Owners earn from idle vehicles, and renters get flexible ride options.

Visit Motoshare

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

&lt;!DOCTYPE html>
&lt;html>
&lt;body>

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

&lt;/body>
&lt;/html>

Result

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
0
Would love your thoughts, please comment.x
()
x