HTML
HTML (HyperText Markup Language) is the most basic building block of the Web. It describes and defines the
content of a webpage. Other technologies besides HTML are generally used to describe a webpage's appearance/presentation
(CSS)
or functionality (JavaScript ).
"HyperText" refers to links that connect webpages to one another, either within a single website or between websites. Links are a fundamental aspect of the Web. By uploading content to the Internet and linking it to pages created by other people, you become an active participant in the World Wide Web.
HTML uses
"markup" to annotate text, images, and other content for display in a Web browser. HTML markup includes special "elements" such as
many others.
The articles below will help you learn more about HTML.
HTML Reference
In our extensive HTML reference section, you'll find the details about every element and attribute in HTML.
HTML Tutorials
For articles about how to use HTML, as well as tutorials and complete examples, check out our HTML Learning Area.
HTML Introduction
If you're new to Web development, be sure to read our HTML Basics article to learn what HTML is and how to use it.
References
HTML element reference
Browse a list of all HTML elements.
HTML reference
HTML consists of elements , each of which may be modified by some number of attributes. HTML documents are connected to each other with links .
Inline elements and block-level elements
HTML elements are usually "inline" or "block-level" elements. An inline element occupies only the space bounded by the tags that define it. A block-level element occupies the entire space of its parent element (container), thereby creating a "block."
CORS enabled image
The crossorigin attribute, in combination with an appropriate
CORS header, allows images defined by the element to be loaded from foreign origins and used in a
element as if they were being loaded from the current origin.
CORS settings attributes
Some HTML elements that provide support for CORS, such as
or
, have a crossorigin attribute ( crossOrigin property), which lets you configure the CORS requests for the element's fetched data.
Focus management in HTML
The activeElement DOM attribute and the hasFocus() DOM method help you track and control a user's interactions with elements on a web page.
Global attributes
Global attributes may be specified on all HTML elements , even those not specified in the standard . This means that any non-standard elements must still permit these attributes, even though those elements make the document HTML5-noncompliant.
HTML attribute reference
Elements in HTML have attributes.