HTML Tags Flashcards
Learn HTML
input
The input tag specifies an input field where the user can enter data.
a
The a tag defines a hyperlink, which is used to link from one page to another.
article
The article tag specifies independent, self-contained content.
b
The b tag specifies bold text.
body
The body tag defines the document’s body.
br
The br tag inserts a single line break.
button
The button tag defines a clickable button.
div
The div tag defines a division or a section in an HTML document.
em
The em tag is a phrase tag. It renders as emphasized text.
embed
The embed tag defines a container for an external application or interactive content (a plug-in).
fieldset
The fieldset tag is used to group related elements in a form.
footer
The footer tag defines a footer for a document or section.
form
The form tag is used to create an HTML form for user input.
h1 - h6>
The h1 to h6 tags are used to define HTML headings.
head
The head element is a container for all the head elements. The element can include a title for the document, scripts, styles, meta information, and more.
header
The header element represents a container for introductory content or a set of navigational links.
hr
The hr tag defines a thematic break in an HTML page (e.g. a shift of topic).
HTML
The HTML tag tells the browser that this is an HTML document.
The HTML tag represents the root of an HTML document.
The HTML tag is the container for all other HTML elements
i
The i tag defines a part of text in an alternate voice or mood. The content of the itag is usually displayed in italic
iframe
The iframe tag specifies an inline frame.
img
The img tag defines an image in an HTML page.
The img tag has two required attributes: src and alt.
input
The input tag specifies an input field where the user can enter data.
input elements are used within a form element to declare input controls that allow users to input data.
label
The label tag defines a label for an input element.
The label element does not render as anything special for the user. However, it provides a usability improvement for mouse users, because if the user clicks on the text within the label element, it toggles the control.
legend
The legend tag defines a caption for the fieldset element.
link
The legend tag defines a caption for the fieldset element.
main
The main tag specifies the main content of a document.
The content inside the main element should be unique to the document. It should not contain any content that is repeated across documents such as sidebars, navigation links, copyright information, site logos, and search forms.
Note: There must not be more than one main element in a document. The main element must NOT be a descendant of an article, aside, footer, header, or nav element.
nav
The nav tag defines a set of navigation links.