What is HTML?
HTML is a markup language for describing web documents (web pages). HTML stands for Hyper Text Markup Language
A markup language is a set of markup tags
HTML documents are described by HTML tags
Each HTML tag describes different document content
My First HeadingMy first paragraph. Example Explained
The DOCTYPE declaration defines the document type
The text between and describes the web document The text between and describes the visible page content The text between and describes a heading The text between and describes paragraph HTML Tags
HTML tags are keywords (tag names) surrounded by angle brackets: content
HTML tags normally come in pairs like and The first tag in a pair is the start tag, the second tag is the end tag The end tag is written like the start tag, but with a slash before the tag name The start tag is often called the opening tag. The end tag is often called the closing tag. Web Browsers
The purpose of a web browser (Chrome, IE, Firefox, Safari) is to read HTML documents and display them. The browser does not display the HTML tags, but uses them to determine how to display the document:
HTML Editors, Practical:
_____________________________________________________________ HTML Headings
HTML headings are defined with the to tags: Example
This is a heading.
.
.This is a heading
_________________________________________________________________________________ HTML Paragraphs
HTML paragraphs are defined with the tag:
Example
This is a paragraph.This is another paragraph. HTML Links
HTML links are defined with the tag:
Example
This is a link _________________________________________________________________________________ HTML Images
HTML images are defined with the tag.
The source file (src), alternative text (alt), and size (width and height) are provided as attributes: Example