HTML tutorial examples

Basic structure: HTML elements, attributes and comments introduct...

HTML elements, attributes and comments introduction

<html> <!--This is a comment. PAGE TITLE! --> <head> &...

Example of white space in HTML

<html> <head> <title>Brenko.web HTML tutorial</tit...

Document type declaration (DOCTYPE, namespaces)

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" &q...

Root element (html)

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" &q...

Document's head section with head element and meta data (head)

<html> <head> <meta http-equiv="content-type"...

Document's body with inline styling (body)

<html> <head> <title>HTML tutorial</title> <...

Content grouping (div, span)

<html> <head> <title>HTML tutorial</title> <...

Content headings (h1 – h6)

<html> <head> <title>HTML tutorial</title> <...

Address element (address)

<html> <head> <title>HTML tutorial</title> <...