Lesson 3 HTML Documents
Lesson 3 HTML Documents
HTML DOCUMENT
HTML Documents
An HTML document is a file containing hypertext markup
language. HTML code is based on tags, or hidden keywords,
which provide instructions for formatting the document. A
tag starts with an angle bracket and the 'less than' sign: '<'.
The tag ends with an angle bracket and the 'greater than' sign
'>'. Tags tell the processing program, often the web browser,
what to do with the text. For example, to make the word
'Hello' bold, you would use the opening bold tag <b> and then
the closing bold tag </b>, like this:
<b>Hello</b>
• HTML is defined by the World Wide Web Consortium, an
organization that regulates standards for the Internet.
Each version of HTML has a set of definitions.
• Note that HTML is not a programming language. While
we often refer to HTML markup as HTML code,
programming languages require the processing of logical
statements and math.
• HTML allows the developer to make text documents look
engaging and pleasant. In most cases, programming on an
HTML document is done with JavaScript.
All HTML documents must start with a
document type declaration: <!DOCTYPE html>.
</body>
</html>
The <!DOCTYPE> Declaration
It must only appear once, at the top of the page (before any HTML t
The <!DOCTYPE> declaration is not case sensitive.