ad

Thursday, October 23, 2025

html aside tag with example

html aside tag with example

https://webdesigningtheory.blogspot.com

 The <aside> tag has added  to html 5   the define a section with additional information related to the content around the aside element. It is the generally use to enhance an article with additional information, or highlighting parts that can be interesting to the user. Content is an aside the stand-alone non-essential part of the web page  and if you delete, the main content will not be affected.

Syntax 

 The <aside> tag comes in pairs, which means that the content is written between the opening (<aside>) and the closing (</aside>) tags.


html aside tag with example

 Example 


<!DOCTYPE html>

<html>

 <head>

<title>Title of the document</title>

 </head>

<body>

<aside><h2>Google Chrome</h2></aside>

<P>Google Chrome web browser to the developer by Google, released.
Chrome app world 's most popular web browser today</p>



</body>

</html>

html aside tag with example

Explain program 

Step 1 ]

<!Doctype html>

  • <!doctype html>  always be the first line of any HTML document.

Step 2 ]

   <html> and </html>

   html  is the root element.

Step 3 ]

<body> and </body>

body  is  main content area.

All visible content inside to  the <body> tag

Step 4]

 <aside>   :-  content that related to main content  
                      HTML 5  semantic element 
                      context  of the webpage structure 

html aside tag with example
Output


Article tag Output

READ MORE 

 how to insert table in a cell

how to bold with html

html formatting tag

No comments:

Post a Comment