
- Take a book and write down the things that you feel difficult and also the points which are important . HTML is really simple to study and i think the first sections will be easy for you . Moving to HTML5 you may feel a little tough so writing down important and difficult things will be helpful .
- HTML can be written and learned using any text editor .
- One of the best option for people using mobile : DroidEdit_Pro .
- If you are using Computer use Notepad ++ .
- You can save and view the files in bowser if you like to see them working .
HTML is a markup language used for creating web pages . HTML stands for Hyper Text Markup Language . HTML describes the structure of the web page . Elements are the building blocks of HTML and these elements are represented by tags . Browsers use the tags to understand the content of the page . Okay, now you might have had an idea on HTML . Now lets start .
Basic Structure :
Lets know the basic tags of HTML one by one .
The html tag :
HTML starts with the tag <html> and ends with </html> . All the other tags, contents and all lies inside the <html> and </html> tags .
Example :
<html> ....... </html>
All HTML files starts with the tag <html> and it ends with </html> .
The head tag :
Okay, now lets know about head tags . The starting of the head tag is <head> and it ends with </head> . The head contains all the non-visual elements . For example all the meta tags, scripts, style and all comes in the head tag . We write the title in the head tag .
Example :
<head> ....... </head>
The title tag :
What is a title tag ?
A title starts with <title> and ends with </title> . The title is give inside this tag . We write the title inside the head tag .
Example :
<title>Example</title>
The output of this is the name Example and it appears in the top of the browser .

The body tag :
Now the next tag, body tag . It starts with <body> and ends with </body> . All the contents are written inside this tag .
Example :
<body> <p>Hi, this is an example</p> </body>
Now lets see how it will looks like after adding all the tags :
<html> <head> <title>Example</title> </head> <body> <p>Hi, this is an example</p> </body> </html>
Output :

Try this your self , save the file and open it and check it in a browser . This is enough for now . In next post we will be learning about different tags that come inside the body section .
Post A Comment:
0 comments: