Articles by "HTML"
Showing posts with label HTML. Show all posts
We share knowledge on the Internet. First it started to disseminate technical knowledge. But later, we use many categories. Articles appeared

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
We share knowledge on the Internet. First it started to disseminate technical knowledge. But later, we use many categories. Articles appeared


There are several languages that make web sites. Below are some of them,


  • HTML - Hyper Text Markup Language
  • CSS - Cascading Style Sheet
  • JS - Java Script
  • PHP - Hypertext Pre Processor
Among these, HTML is the basic web site making language. So let's talk about HTML ahead.

  • Make a blank HTML web page
  1. Go to This PC (Windows)
  2. Go to View Tab
  3. Click on File Name Extensions

  1. Go to Home tab
  2. Click on New Item
  3. Open new Text Document
  • Change .txt to .html and save
You have now created an HTML file. Now let's learn about coding.

Basic HTML Tags ( Codes )

<html>
    <head>
        <title>
            My Web Site
        </title>
    </head>

    <body>
        Your website content here....
    </body>
</html>

preview


Download the sample file

Let's meet with the next Episode..