Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

LAB REPORT # 8

TITLE:
DIFFERENCE BETWEEN HTML TAGS AND
ELEMENTS
HTML Tags:
An HTML code that defines every structure on a HTML page,
including the placement of texts, images and hypertext links.
HTML tags begin with the less-than (<) sign and end with greater-
than (>) sign.
HTML Element:
HTML element is an individual component of an HTML document
or webpage. HTML webpage is composed of a tree of HTML
elements. HTML elements is used inside the HTML tags and it is
the data which is showed on our page as a result.
Difference Between HTML Tags and HTML
Elements:
The Element is written between the HTML tags, It is the data
which is to be displayed and tags, which are enclosing them, are
the commands which show the style, type, nature etc. of the
HTML element. In a HTML webpage the element is dependent on
HTML tags and it cannot become a part of HTML webpage
without using HTML tags.
<title>TITLE</title>
Here Title is the element and ‘title’ written in angle-characters are
the HTML tags.

You might also like