We talked about basic codes in HTML. If you don't read it, Go to Link in below,


And Today We are going to talking about How to make a simple page using HTML.


  • First you should  make a .html file on your computer.
  • After that, Follow the instruction.

Functions performed by individual codes.

How to start and finish

  • <html> - Open the web page.
  • </html> - close the web page.
  • <head> - Open the head.
  • </head> - Close the head.
Now you know how to start and finish the code

Tags for text

  • <p> </p> - Paragraph Tag
  •  <i> </i> - Italic text
  • <b> </b> - Bold text
  • <u> </u> - Underline text

Heading Tag

  • <h1> </h1> - Heder 01
  • <h2> </h2> - Heder 02
  • <h3> </h3> - Heder 03
  • <h4> </h4> - Heder 04
  • <h5> </h5> - Heder 05
  • <h6> </h6> - Heder 06

Let's create a web page

Code

<html>
    <head>
        <title>
            Sigharaja Forest
        </title>
    <head>

    <body>
        <h1>Sigharaja Forest</h1>

        <p> The <b>Lion Kingdom</b> is one of the rarest rainforests.It is also known as a World          Heritage Site.It belongs to <u>Galle, Ratnapura and Matara districts</u>.This is about <b>23,000</b> acres. The Gin Ganga and the Kalu Riverflow through the forest.<i> 13 endemic plants, 18 birds,8 mammals, 3 fish species, 21 reptiles, 10 amphibians</i> livein the Sinharaja. Thereare 60 species of butterflies and thelargest butterfly ( Comman Bird ) in Sri Lanka. </p>     </body>
</html>

Preview

 


Hope to see you again in a new Episode
Axact

Tech Zone

Wa are happy You're here. Like, Comment, Share. Thank You

Post A Comment:

1 comments: