HTML TAGS ARE OF TWO TYPES:
1) PAIRED
2) UNPAIRED
HTML ELEMENTS CAN BE CLASSIFIED INTO TWO TYPES:
1) INLINE ELEMENTS
THAT EVERY DEFINITION OF AN HTML ELEMENT CAN SPECIFY WITHIN THE SAME LINE. THOSE ELEMENTS ARE CALLED AS "INLINE ELEMENTS".
EX: IMAGES, ANCHOR TAG ETC.
2) BLOCK ELEMENTS
THAT EVERY DEFINITION OF AN HTML ELEMENT CAN SPECIFY WITH NEW LINE, THOSE ELEMENTS ARE CALLED AS "BLOCK ELEMNTS"
HEADING TAGS:
=============
TO MAKE REPRESENT/DEFINE THE DIFFERENT LEVELS OF HEADINGS IN ANY DOCUMENT, WE HAVE SIX-LEVELS OF HEADINGS IN HTML:
to
Syntax:
First level
Second Level
Third Level
Fourth level
fifth level
sixth level
==> block elements
shgdkjaklcqwb luwklvrb
obolulu
;bilkulku
==========================================
PARAGRAPH TAG
=============
==> tag
==> Block element
==> paired tag
Syntax:
Content
Line Break Tag:
===============
tag
==> When we need to get the line break between the content, we can use
tag.
==> Unpaired tag or self-closing tag
Syntax:
or
==========================================
HORIZONTAL RULE TAG
===================
tag:
========
==> Unpaired tag
==> Self-closing tag
==> to define the horizontal line between the content,
can be used.
Syntax:
or
======================================
DIV TAG
=======
==> Division Tag
to divide the total complex application into multiple divisions, tag
==> in every
tag, we can write any tag
==> block element
==> paired tag
====================================
Attribute:
==========
an entity/element we can use to specify the extra information about any HTML element.
Syntax:
Content
==> Attribute we can always write within the open tag only.
Id attribute:
============
==> To uniquely identify the HTML element we need "id" attribute.
Syntax:
id = "value"
class attribute:
===============
==> To commonly identify elements, we can use "class attribute".
Syntax:
class = "value"