You can write HTML code in word pad, notepad, notepad++, DW etc. But I like to use Notepad++.
At first you have to take a new page in HTML format (index.html), I mean file's extension will be ".html". Now open it with notepad++.
HTML opening tag is <html> and closing tag is </html>. All code will be written between the middle <html> and </html>. For HTML, your main format:
<html>
<head>
<title>.....</title> </head>
<body>
.......
</body>
</html>
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYOJNU7C-wcUtiDo_4BMQ8mYoUQ3tk3eG0DUBrVs-v3fTS4GNeZn_fHbS4cPJms8jhU2-XdFlCOwjG_aH2dXeY3DhwwZmeyN20jSYZKMxeLLh4frjqPwgT5oF2Y5eUPNnoMmvh4qt1aPJ1/s320/html5b.png)
<!DOCTYPE HTML>
<html lang="en-US">
<title></title>
</head>
<body>
</body>
</html>
At first you have to take a new page in HTML format (index.html), I mean file's extension will be ".html". Now open it with notepad++.
HTML opening tag is <html> and closing tag is </html>. All code will be written between the middle <html> and </html>. For HTML, your main format:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjR3oGIRuo7QBZ6iSxuzXJdBJzLt28_GZJ9ln5E2GfZ6bfLYUbF0RGz0XuW4P_2qUAwin4MXiol0-bBat-evErEs_0rmyPC0cAOVck7V2Nj88qjaoRsENXmq_Nhd318Er_yDM6G3N8Miqhm/s320/html1.png)
<head>
<title>.....</title> </head>
<body>
.......
</body>
</html>
And in HTML5, your code format:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYOJNU7C-wcUtiDo_4BMQ8mYoUQ3tk3eG0DUBrVs-v3fTS4GNeZn_fHbS4cPJms8jhU2-XdFlCOwjG_aH2dXeY3DhwwZmeyN20jSYZKMxeLLh4frjqPwgT5oF2Y5eUPNnoMmvh4qt1aPJ1/s320/html5b.png)
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8"><title></title>
</head>
<body>
</body>
</html>
0 comments:
Post a Comment