HTML BR Tag

The <br> tag push a single line break.

The <br> tag is an empty tag it means that it has no ending tag.

Example

<html>

<head>
<title> Title of the web page</title>
</head>
<body>

This text defines<br>a line break.

This text defines<br>a line break.

</body>
</html>

Differences HTML 4.0 and HTML5

Same functionality.

Global Attributes

The <br> tag also supports the Global Attributes

Event Attributes

The <br> tag also supports the Event Attributes

Attributes

Attribute Value Description
clear none
left
right
all
Specifies where the next line should appear after the line break caused by this element

Browser Support

Firefox Google Chrome Internet Explorer Apple Safari
1+ 1+ 2+ 1+

HTML Body Tag

The <body> element contains all the content of the document. the content that will be displayed on screen,such as divs,sections, links, images,forms,tables,video all other items also/

Example

<html>

<head>
<title> Title of the web page</title>
</head>
<body>
<section>
<div> It is body of the web page</div>
</section>
</body>
</html>

Differences HTML 4.0 and HTML5

All body attributes are removed in HTML5

Global Attributes

The <body> tag also supports the Global Attributes

Event Attributes

The <body> tag also supports the Event Attributes

Attributes

Attribute Value Description
alink color color of an active link in a webpage
background URL background image for a webpage
bgcolor color the background color of a webpage
link color the color of unvisited links in a webpage
text color the color of the text in a webpage
vlink color The color of visited links in a document

Browser Support

Firefox Google Chrome Internet Explorer Apple Safari
All All All All

HTML aside Tag

The <aside> tag has the same representations as a div, but contains some content aside form the content it is placed in. the aside content related to the content around it.

example

<p>My family and I visited The kakinada this summer.</p>

<aside>
<h4>Kakinada</h4>
<p>The Kakinada is most visited place in ap, India.</p>
</aside>

Attributes

the <aside> tag doesn’t have any specific attribute.

Global attributes.

The <aside> tag supports the global attributes in HTML5

Event Attributes

The <aside> tag also supports the event attributes in HTML%

Browser Compatibility

Firefox Google Chrome Internet Explorer Apple Safari
4+ 6+ 9+ 5+

HTML Article Tag

The <article> element specifies a section of the content that forms an independent, self-contined item of content.

This will be a forum post, newspaper article, a blog entry, a user-submitted comment, an interactive widget or gadget, or any other independent item of content.

The example below shows the <article> tag in action.

<article>

<h1>Welcome to HTML</h1>

<p>HTML is a markup language that is used for creating html pages.</p>

</article>

differences Between Html 4.01 and HTML 5

this <article> tag is new in HTML5

Global Attributes

this<article> tag also supports the Golbal attributes in HTML

Event Attributes

This <Article> tag also supports the Event Attributes in HTML

RECENT POSTS

Firefox CSS Hacks

admin
Wednesday, May 15th, 2019

Top 15 Web Design Trends 2018

admin
Friday, May 3rd, 2019