Hello World! - HTML5 Syntax

<!DOCTYPE html>
        <title>Hello World! - HTML5 Syntax</title>
        <p>Hello World</p>
  • A website is a collection of Web Pages, built using HTML
  • HTML is make up of opening (<>) and closing (</>) tags, identified by their names (e.g. <p>...</p> = paragraph)

Please log in or register to opinion this Issue.

(6.9k points) · opinion .
<!DOCTYPE html>

It's called declaration, not part of HTML.


The <html> tag is the beginning of the web page and its closing tag </html> ends the page.

<head> and <body>

The Web Page is divide into two sections, the <head> contains the invisible elements, while the <body> contains the visible elements.

+1 vote