Continue

Basic HTML Document 

In its simplest form, following is an example of an HTML document: 

<!DOCTYPE html> 

<html>

<head>

 <title>This is document title</title>

</head>

<body><h1>This is a heading</h1> 

<p>Document content goes here.....</p>

</body> 

</html> 

Either you can use Try it option available at the top right corner of the code box to check the result of this HTML code, or let's save it in an HTML file test.htm using your favorite text editor. Finally open it using a web browser like Internet Explorer or Google Chrome, or Firefox etc.


This is a heading

Document content goes here.....

Comments

Popular Posts