Thursday, October 1, 2015

How to write html code?

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>



And in HTML5, your code format:

<!DOCTYPE HTML>
<html lang="en-US">
<head>
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
   
</body>
</html>



0 comments:

Post a Comment