HTML Tags - HTML Element Attributes -


Best PHP Training with Live Project in Noida Fee is only 7500/-Click here for FREE DEMO.




Container Tag

Container tag : These tags are in which we define the text or other tag elements.
These actually consist two tags, a start tag and an end tag, which enclose the text.

Eg i

In the above Example.
1 container tag is we can define all the HTML tags inside the given tag.

Eg ii

In the above Example
=> We putting inside the <html>tag.

=> Body tag give all description of the document’s layout and structure.

HTML Empty(Non-Container/Blank) tag

Non- container tag/empty tag : These are standalone text do not contain text. Or any other tag element.

Eg i

In the above example => The two tags are non-container/empty tags.<br/> line break tag and <hr/> is used to break the line and display line across the screen. =>These do not hold any text or any other tags.

HTML Element Property

Most of the HTML element(tag) have some attributes(properties) Eg ii


About HTML Elements

In the above example
=> Body tag and heading tag define inside the HTML tag.

=> The bgcolor attribute is used to set the background color of the body. and Background attribute is used to set the image on background of a document.

=> heading tag is used to display headings on web pages. attribute Align with (value=”center”) are for alignment of heading on web page.

Keep Updating yourself