Topic 032: HTML Document Markup Flashcards
a markup language that tells web browsers how to structure and display web pages. The current version is 5.0, which was released in 2012. The HTML syntax is defined by the World Wide Web Consortium (W3C).
HTML is a fundamental skill in web development, as it defines the structure and a good deal of the appearance of a website. If you want a career in web development, HTML is definitely a good starting point.
HTML (HyperText Markup Language)
consist of angle brackets
around a tag name, for example <title>. The tag name is not case-sensitive, although the World Wide Web Consortium (W3C) recommends using lowercase letters in current versions of HTML</title>
Tags
HTML Tags are used to build
elements
opening tag of an HTML element that defines the title of an HTML document.
<title>
</title>
Encloses the entire HTML document. This contains all the tags that make up the page. It also indicates that the content of this file is in HTML language. Its corresponding closing tag is </html>.
<html>
</html>
A container for all meta information regarding the page. The corresponding closing tag of this element is </head>
<head>
</head>
A container for the page content and its structural representation. Its corresponding closing tag is </body>.
<body>
</body>
The <html>, <head>, <body> and <title> tags , which provide the basic structure of an HTML document. In particular, they tell the web browser that it is reading an HTML page.</title>
are so-called skeleton tags
is not an HTML tag, but an instruction for the web browser that specifies
the HTML version used in the document. In the basic HTML document structure shown earlier, <!DOCTYPE html> was used, specifying that HTML5 is used in this document
<!DOCTYPE>
WARNING
Comments can not be nested
HTML tags may include one or more of these that specify details of HTML elements.
Must always be set on the opening tab
Consists of a name that indicates the property that should be set, an equal sign and the desired value within quotes.
attributes
attributes that can be used on any HTML element
Core Attributes
Core attribute that describes the content of the element. Its value is often displayed as a tooltip that is shown when the user moves their cursor over the element.
title
Core attribute that associates a unique identifier with an element. This identifier must be unique within the document, and the document will not validate when multiple elements share the same id.
id
Core attribute that assigns graphic properties (CSS styles) to the element.
style