HTML BASICS ELEMENTS

HTML BASICS ELEMENTS

Html use tags as we see in the previous lecture. Now in this post we will talk about basics elements of html.

THE HEAD

The head element is a container for information about the webpage, like its title. It goes before the body tag.

<html>
    <head>
              //  here the webpage title
    </head>


</html>

THE BODY

The body is the place where we write most of the html elements.It like a container of others elements.

<html>
    <head>
              //  here the webpage title
    </head>
     <body>

              
               // others elements

     </body>
</html>

THE PARAGRAPH

The Paragraph group line of text into a paragraph. We use <p> and </p> tags to write a paragraph.

<html>
    <head>
              //  here the webpage title
    </head>
     <body>
      
          <p> here you write your sentences. you can put many sentences as you want everything will be in one paragraph. </P>
      <p> We can add many paragraph as we want. Each will add space before and after itself. </P>   
              

     </body>
</html>

HEADING

HTML headings are titles or subtitles that you want to display on a webpage.

<h1>This is heading 1</h1> 
<h2>This is heading 2</h2>
<h3>This is heading 3</h3>
<h4>This is heading 4</h4>
<h5>This is heading 5</h5>
<h6>This is heading 6</h6>

Note: <h1> defines the most important heading. <h6> defines the least important heading.

One thought on “HTML BASICS ELEMENTS

Leave a Reply

Your email address will not be published. Required fields are marked *

Follow by Email
LinkedIn
LinkedIn
Share
Instagram
error: Content is protected !!