HTML Document Example

Q

What Does an HTML document look like?

✍: FYIcenter.com

A

An HTML document is a normal text file with predefined tags mixed with the text contents of the document. Tags are enclosed in pairs of angle brackets: "<" and ">".

Below is how a simple HTML document looks like if you open it in a text editor:

<!DOCTYPE html>
<html>
  <head>
    <title>HTML Sample Document</title>
  </head>
  <body>
    <p>Hello world!</p>
  </body>
</html>

 

XHTML Document Example

HTML Versions and Variations

Introduction of HTML

⇑⇑ HTML Tutorials

2017-02-20, 1378🔥, 0💬