Lesson Summary - Docx of HTML
Lesson Summary - Docx of HTML
Hypertext Markup Language (HTML) is the standard markup language for creating
web pages and web applications.
Web browsers receive HTML documents from a web server or from local storage and
render them into multimedia web pages.
HTML describes the structure of a web page semantically and originally included
cues for the appearance of the document.
HTML elements are the building blocks of HTML pages.
With HTML constructs, images and other objects, such as interactive forms, may be
embedded into the rendered page.
HTML provides a means to create structured documents by denoting structural
semantics for text such as headings, paragraphs, lists, links, quotes and other items.
HTML elements are delineated by tags, written using angle brackets. Browsers do not
display the HTML tags, but use them to interpret the content of the page.
HTML can embed programs written in a scripting language such as JavaScript which
affect the behavior and content of web pages.
Inclusion of CSS defines the look and layout of content.
The World Wide Web Consortium (W3C), maintainer of both the HTML and the CSS
standards, has encouraged the use of CSS over explicit presentational HTML since
1997.
The current HTML standard is HTML5, completed and standardized on 28 October
2014.
HTML markup consists of several key components, including those called tags (and
their attributes), character-based data types, character references and entity
references.
HTML tags most commonly come in pairs, although some represent empty elements
and so are unpaired. The first tag in such a pair is the start tag, and the second is the
end tag. They may also be called opening tags and closing tags.
The general form of an HTML element
is <tag attribute1="value1" attribute2="value2">content</tag>.
Some HTML elements are defined as empty elements and take the
form <tag attribute1="value1" attribute2="value2">.
If attributes are not mentioned, default values are used in each case.
A typical HTML document includes:
The HTML document type declaration, DOCTYPE, triggers standards mode rendering.
<html> and </html> tags describe the web page.
<head> and </head> tags describe page meta data.
meta charset describes page character encoding. The default encoding for
HTML5 is UTF-8.
<title> and </title> tags describe the page title.
<body> and </body> tags describe the visible page content.
<p> and </p> tags describe paragraphs.
<a> and </a> tags describe anchors (hyperlinks).
<br> tags describe line breaks.
<h1> and </h1> and similar tags describe content headings.
<img> tags describe images.
<!-- and --> enclose comments.
Special characters may be entered using &code; syntax. Examples include:
o & - &
o < - <
o > - >
Semantic HTML is a way of writing HTML that emphasizes the meaning of the
encoded information over its presentation (look).
Presentational markup tags are deprecated in current HTML in favor of using CSS to
describe content presentation.