ad

Monday, November 7, 2022

Html Section tag

 

 HTML  Element 




 Section tag

 The HTML <section> tag element represents a standalone section which does have a more specific semantic to element its represent it contained within an HTML document. The <section> tag is the defines sections in document such as chapters, headers, footers, or any other sections of the document Typically, but not always sections have a heading

 Section tag program 

<!DOCTYPE html>

<html>

<h2>HTML5 Introduction</h2> <p>HTML5 is the latest development of the standard that defines HTML. <br>

The term represents two different concepts.</p>

</section>

<section>

<h1>Features</h1>

<p> Semantics Features : allow you to describe more precisely what your content.<br> 

•Connectivity: allowing you to communicate with the server in new  ways.<br>

</p>

</section>

<body>

</html>


  Section tag  Output 

Html section tag use



 Article tag

 The <article> tag has been added to HTML5.Article tag  used to define in the independent, self contained content. An article tag should have its own meaning and  easily way differentiated from the rest the web page content.

Article tags are an important way to put readers in touch with helpful content. article tag its page should normally have a several tag to help keep content organized. This article tag explains to the best way to tag pages so that our readers can find information and we can keep the content organized. 

  <article> element can include

Blog entry 

Forum post

News 

Comment


Syntax 

Multiple <article> tags can be used in one HTML document.


Article tag program 

<!DOCTYPE html>

 <html>

<head>

<title>Title of the documente</title>

</head>

<Body>

<article>

<h1>Title of the articles</h1>

<p>Text of the article </p>

</article>

</body>

 </html>


Article tag output 

Html article tah use

READ MORE 


No comments:

Post a Comment