Post Top Ad

Sunday, October 22, 2017

HTML Introduction

What is HTML5?

  • HTML5 stands for HyperText Markup Language and describes the structure of web pages using markup.
  • HTML5 elements is used for building the HTML page4
  • HTML5 elment are presented by tags . e.g. <html> </html>
  • HTML5 tags contains the elements such as "heading" "paragraph", "table" and so on.
  • HTML5 is not directly displayed on the browser, but it will render as a content.


<!--
Author: Khem Puthea
-->
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>

  • The <!DOCTYPE html> declaration defines this document to be HTML5
  • The <html> element is the root element of an HTML page
  • The <head> element contains meta information about the document
  • The <title> element specifies a title for the document
  • The <body> element contains the visible page content
  • The <h1> element defines a large heading
  • The <p> element defines a paragraph

1 comment: