Topic 032: HTML Document Markup Flashcards
(36 cards)
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
Core attribute that specifies the language of the element content using ISO-639 standard two-character language codes
lang
The developer can store custom information about an element by defining a so-
called “ “ that is indicated by prefixing the desired name with data- as in -additionalinfo
data- attribute
Other attributes are specific to each HTML element. For example, the src attribute of an HTML <img></img> element specifies the URL of an image. There are many more specific attributes, which will be covered in the following lessons
Specific Attributes
defines meta information regarding the page and is described by the
<head> element
by default the info within is not rendered by the web broswer.
</head>
The document header
What is it not recommended to do with the <head> element
To contain HTML elements that could be dislayed on the page.
defined between the tags appears in the web bowser title bar and is the suggested name for the bookmark when you try to bookmark the page. It is also displayed in search engine results as the title of the page.
title
<title>
</title>
Used to specify meta information to further describe the content of an HTML document.
<meta></meta>
element
Element that defines what metadata will be described in this element. It can be set to any custom defined value, but commonly used values are author, description, and keywords
name
Element that provides an HTTP header for the value of the content attribute. A common value is refresh, which will be explained later. If this attribute is set, the name attribute should not be set.
http-equiv
Block Element
Inline Element
Inline Element
Block Element
Inline Element
Block Element
Block Element
- Block Element
- and
- and
- and
How to fill in the request form
To receive the PDF document with the complete HTML course, it is necessary to fill in the following fields:
- Name
- Surname
- Email Address
- Nation
- Country
- Zip/Postal Code
How to fill in the request form
To receive the PDF document with the complete HTML course, it is necessary to fill in the following fields:
- Name
- Surname
- Email Address
- Nation
- Country
- Zip/Postal Code
Required fields
Bold fields are mandatory.
How to fill in the request form
To receive the PDF document with the complete HTML course, it is necessary to fill in the following fields:
- Name
- Surname
- Email Address
- Nation Country
- Zip/Postal Code
Required fields
Bold fields are mandatory.
Steps to follow
There are four steps to follow:
- Fill in the fields
- Click the Submit button
- Check your e-mail and confirm your request by clicking on the link you receive
- Check your e-mail - You will receive the full HTML course in minutes
How to fill in the request form
To receive the PDF document with the complete HTML course, it is necessary to fill in the following fields:
- Name
- Surname
- Email Address
- Nation
- Country
- Zip/Postal Code
Required fields
Bold fields are mandatory.
Steps to follow
There are four steps to follow:
- Fill in the fields
- Click the Submit button
- Check your e-mail and confirm your request by clicking on the link you receive
- Check your e-mail - You will receive the full HTML course in minutes
How to fill in the request form
To receive the PDF document with the complete HTML course, it is necessary to fill in the following fields:
- Name
- Surname
- Email Address
- Nation
- Country
- Zip/Postal Code
Required fields
Bold fields are mandatory.
Steps to follow
There are four steps to follow:
- Fill in the fields
- Click the Submit button
- Check your e-mail and confirm your request by clicking on the link you receive
- Check your e-mail - You will receive the full HTML course in minutes
Form Rules - 2021
How to fill in the request form
To receive the PDF document with the complete HTML course, it is necessary to fill in the following fields:
- Name
- Surname
- Email Address
- Nation
- Country
- Zip/Postal Code
Required fields
Bold fields are mandatory.
Steps to follow
There are four steps to follow:
- Fill in the fields
- Click the Submit button
- Check your e-mail and confirm your request by clicking on the link you receive
- Check your e-mail - You will receive the full HTML course in minutes