Episode 2- HTML TUTORIAL

<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>

<h1>My First Heading <br> SEE the code <br></h1>
<p>My first paragraph.</p>

</body>
</html>

 

EP 02

Complete introduction With HTML

See the code

<html> – showing it’s written in HTML and it is the declaration. IT is a must for starting a simple HTML.

Now HTML document has 2 parts

Head and body tags

1- Head – contains meta info about HTML page.
2- Body- This is the page that will appear.

Head declaration – <head>
closing head declaration- </head>

Body- <body>
close body- </body>

Paired and non-paired tags

Paired are the tags that come in pairs just like above in the body and head.

Non paired are the tags which are not needed to be closed
like

<br> – tag for breakin a line

<h1> Tag for heading 1 ( biggest heading)

Other heading tags are
h2, h3 , h4 , h5 and h6

<p> is a tag for paragraph

You already know from the first episode, that you need to copy this code and save it on a notepad in order to make an HTML.

Save page as name.html or index.html

After saving open with a Web browser and you will see the web page.
I will show you it is working

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

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