HTML5 Elements Flashcards
(105 cards)
<html>
Represents the root of an HTML or XHTML document. All other elements must be descendants of this element.
<head>
Represents a collection of metadata about the document, including links to or definitions of scripts and style sheets.
<title>
Defines the title of the document, shown in a browser’s title bar or on the page’s tab. It can only contain text and any contained tags are not interpreted.
<base>
Defines the base URL for relative URL in the page.
<link>
Used to link JavaScript and external CSS with the current HTML document.
<meta>
Defines metadata that can’t be defined using other HTML element.
<style>
Style tag is used to write inline CSS.
<script>
Defines either an internal script or link to an external script. The script language is JavaScript
<noscript>
Defines an alternative content to display when the browser doesn’t support scripting.
<body>
Represents the main content of an HTML document. There is only one element in a document.
<section>
Defines a section in a document
<nav>
Defines a section that contains only navigation links
<article>
Defines self-contained content that could exist independently of the rest of the content
<aside>
Defines some content set aside from the rest of page content. If it is removed, the remaining content still make sense.
, ## , ### , #### , ##### , ######
Heading elements implement six levels of document headings,
is the most important and ###### is the least. A heading element briefly describes the topic of the section it introduces.
<header>
Defines the header of a page or section. It often contains a logo, the title of the Web site and a navigational table of content.
<footer>
Defines the footer for a page or section. It often contains a copyright notice, some links to legal information or addresses to give feedback.
<address>
Defines a section containing contact information.
<main>
Defines the main or important content in the document. There is only one element in the document.
<p>
Defines a portion that should be displayed as a paragrah.
<hr>
Represents a thematic break between paragraphs of a section or article or any longer content.
<pre>
Indicates that its content is preformatted and that this format must be preserved.
<blockquote>
Represents a citation.
<ol>
Defines an ordered list of items, that is a list which change its meaning if we change the order of its elements
Represents a data cell in a table.
87
\
|
Represents a header cell in a table.
88
\
Represents a formular, consisting of controls, that can be submitted to a server for processing.
89
\
Represents a set of controls.
90
\
Represents the caption for a .
91
\
Represents the caption of a form control.
92
\
Represents a typed data field allowing the user to edit the data.
93
\
Represents a button.
94
\
Represents a control allowing the selection among a set of options.
95
\
Represents a set of predefined options for other controls.
96
\
Represents a set of options, logically grouped.
97
\
Represents an option in a element, or a suggestion of a element.
98
\
Represents a multiline text edit control.
99
\
Represents a key pair generator control.
100
\
Represents the result of a calculation.
101
\
Represents the completion progress of a task.
102
\
Represents a scalar measurement (or a fractional value), within a known range
103
\
Represents a widget from which the user can obtain additional information or controls.
104
\
Represents a summary, caption, or legend for a given .
105
\
Represents a command that the user can invoke.
106
\
Represents a list of commands.
|