View Full Version : What is the difference between HTML elements and tags?
paulbrighton
12-25-2014, 09:25 AM
What is the difference between HTML elements and tags?
eagleeye dental
12-26-2014, 01:17 AM
Tag are the Opening Tag and Closing Tag.
Element <h1>Heading</h1>
rehal
01-05-2015, 01:57 AM
An element in HTML represents some kind of structure or semantics and generally consists of a start tag, content, and an end tag. The following is a paragraph element:
<p>This is the content of the paragraph element.</p>
Tags are used to mark up the start and end of an HTML element.
<p></p>
AllenTrendin
01-05-2015, 02:58 AM
HTML tag is just opening or closing entity. For example:
<p> and </p> are called HTML tags
HTML element encompasses opening tag, closing tag, content.
eg: <p> This is the content</p>: This complete thing is called a HTML element.
anirban09P
01-28-2015, 11:10 PM
An element in HTML represents some kind of structure or semantics and generally consists of a start tag, content, and an end tag.
HTML Tags are used to mark up the start and end of an HTML element.
AvniShergill
01-29-2015, 03:21 AM
Tags are used to define the start-up and end of an element. Whereas, HTML elements are something which is written between the tags.
For example:-
<b>Hello Friends</b>
In the above example, <b></b> are Tags, whereas "Hello Friends" is an element.
vipshush
01-29-2015, 03:30 AM
Hello Everyone,
I have no idea about it , please tell me and suggest me.
marclewis
02-08-2015, 11:46 PM
HTML elements are to represent the structure of a start tag, content and end tag whereas HTML tags to make the start and end of an HTML element.
avvntech
02-10-2015, 12:44 AM
<p>Hello world</p>
<p></p> is HTML tag
Hello World is element
daviddakarai
03-04-2015, 11:59 PM
An element in HTML represents some kind of structure or semantics and generally consists of a start tag, content, and an end tag.
Tags are used to mark up the start and end of an HTML element.
WebOutGateway
03-06-2015, 05:51 AM
HTML tag is a code that describe how the content is formatted. E.g, <b> <and> While, HTML elements is the content is written between the tags.
Hope it helps!
KingServers01
03-08-2015, 10:27 AM
HTML tag is just opening or closing entity. For example:
<p> and </p> are called HTML tags
HTML element encompasses opening tag, closing tag, content (optional for content-less tags) Eg:
<p>This is the content</p> : This complete thing is called a HTML element
widere85
03-08-2015, 11:01 PM
Elements consists of opening tag, content and closing tag while tags are labels you use to mark up the beginning and end of an element.
christopher12
03-10-2015, 04:06 AM
Generally speaking, there are two kinds of tags - opening tags: and closing tags: . The only difference between an opening tag and a closing tag is the forward slash "/". You label content by putting it between an opening tag and a closing tag. HTML is all about elements
Andrew Smith
03-10-2015, 06:25 AM
An element in HTML represents some kind of structure or semantics and generally consists of a start tag, content, and an end tag.
<p>
This is the content of the paragraph element.
</p>
Tags are used to mark up the start and end of an HTML element.
A start tag consists of an opening angle bracket (<) followed by the element name, zero or more space separated attribute/value pairs, and a closing angle bracket (>).
CandaceWilliams
03-23-2015, 02:08 AM
HTML is all about elements only and there are two types of tags opening tag and closing tag.
daviddakarai
04-01-2015, 06:46 AM
<h1>Hello word</h1>
<h1> </h1> are tag and Hello word is HTML element.
ehostingpk
04-18-2015, 02:45 AM
HTML tag is just opening or closing entity. For example:opening tag is <p> and closing tag is </p>.
HTML element encompasses opening tag and closing tag e.g:<p>This is the content</p>.
sigmaseo
07-11-2015, 06:05 AM
Elements consists of opening tag
MitraVarghese
07-20-2015, 04:56 AM
Tags are used to define the start-up and end of an element. Whereas, HTML elements are something which is written between the tags.
For example:-
<b>Hello Friends</b>
In the above example, <b></b> are Tags, whereas "Hello Friends" is an element.
Yeah, I really agree with you about the difference you have given relevant to HTML elements and tags.
netster
08-13-2015, 10:37 AM
Thanks for the info folks.
jane1
08-24-2015, 03:52 AM
Tags generally have an opening tag and a closing tag
e.g
<tiltle> </title>
And attributes are their different properties such as
<table align="left/right/center/" height="" width="" bgcolor=""></table>
HTML elements can have attributes.
Attributes provide additional information about an element.
Attributes are always specified in the start tag.
Attributes come in name/value pairs like: name="value"
Here align, height, width bgcolor are attributes of table that give table some properties regarding its alignment, height, width, background color etc.
Powered by vBulletin® Version 4.2.4 Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.