HTML Document and Elements Syntax

This chapter provides tutorial notes and example codes on HTML document syntax. Topics include what is HTML document syntax; character set and encoding; entering comments; opening and closing tags; nested elements; specifying attribute values and element contents; using whitespace characters; using character entity and numeric character references.

HTML Document Syntax

Document Character Set and Encoding

Entering Comments in HTML Document

Opening and Closing Tags of Elements

Using Nested Elements

Specifying Element Attributes

Specifying Element Contents

Element Content Syntax Types

Using Whitespace Characters

Using Character Entity References

Using Numeric Character References


Table of Contents

 About This Book

 Introduction of HTML

 Introduction of HTML5 Features

 HTML Document Structure and Content

HTML Document and Elements Syntax

 Displayed and Printed HTML Documents

 Responsive Design of Web Pages

 MathML Integration in HTML Documents


 Full Version in PDF/EPUB