Exam 98-383: Introduction to Programming using HTML and CSS/Understand HTML Fundamentals

This lesson covers HTML fundamentals, including markup, metadata, and industry best practices.

Readings

 * 1) Mozilla: HTML Basics

Activities

 * 1) W3Schools: HTML Exercises

Construct markup that uses metadata elements
Includes script; noscript; style; link; meta tags, including encoding, keywords, viewport, and translate.

script
The HTML  element is used to embed or refer to an executable code; this is typically used to embed or refer to JavaScript code.

Examples:

noscript
The HTML  element defines a section of HTML to be inserted if a script type on the page is unsupported or if scripting is currently turned off in the browser.

Example:

style
The HTML  element contains style information for a document, or part of a document.

Example:

link
The HTML  element specifies relationships between the current document and an external resource.

Example:

meta tags
The HTML element represents metadata that cannot be represented by other HTML meta-related elements.

Examples:

Construct well-formed markup that conforms to industry best practices
Includes DOCTYPE declaration; HTML; head; body; proper syntax, including closing tags and commonly used symbols; comments

DOCTYPE
In HTML, the doctype is the required  preamble found at the top of all documents.

Example:

html
The HTML  element represents the root (top-level element) of an HTML document.

Example:

head
The HTML  element provides general information (metadata) about the document, including its title and links to its scripts and style sheets.

Example:

body
The HTML Element represents the content of an HTML document.

Example:

Common Symbols
An HTML entity is a piece of text ("string") that begins with an ampersand (&) and ends with a semicolon. Entities are frequently used to display reserved characters (which would otherwise be interpreted as HTML code), and invisible characters (like non-breaking spaces).

Example:

Comments
Comments are represented in HTML and XML as content between  and.

Example: