HTML Code Flashcards
What is “<em></em>” ?
The “Emphasis” HTML element. Emphasizes text inside.
What does HTML stand for?
HyperText Markup Language
What is “<li>” ?</li>
The “List Item” HTML element. Creates list items in ordered or unordered lists.
What is “” ?
The “Video” HTML element. Embeds a media player for video playback.
What is “src” ?
The “src” HTML attribute. Contains the URL to an image or to a video.
What is “controls” ?
The “controls” HTML attribute. Gives a display of video controls in media players.
What is “<ol></ol>” ?
The “Ordered List” HTML element. Creates a list of items in sequential numbered order.
What is “<div></div>” ?
The “Division” HTML element. Can contain “flow content” and is used as a container that divides an HTML document into sections.
What is “<br></br>” ?
The “Line Break” HTML element. Creates a line break in text.
What is “<img></img>” ?
The “Image” HTML element. Embeds imaged in documents.
What is “<h1>—” ?</h1>
The “Heading” HTML elements. Gives 6 different levels to change the heading of text.
What is “<p></p>” ?
The “Paragraph” HTML element. Contains and displays a block of text.
What is “<ul></ul>” ?
The “Unordered List” HTML element. Creates a list of items all noted by bullet points.
What is “id” ?
The “id” HTML attribute. Allows denoting of unique identifiers for other use.
What is “style” ?
The “style” HTML attribute. Allows the changing of different aspects when used accordingly.
What is “alt” ?
The “alt” HTML attribute. Effects the “img” HTML attribute, by displaying alternate text where an image would be if for any reason it does not load.
What is “” ?
The “Body” HTML element. Represents the content of an HTML document, content inside is rendered on web browsers.
What is special about the “Body” HTML element?
There can only be one “Body” HTML element in a document.
What is “<span></span>” ?
The “Span” HTML element. Is an inline container for text and can be used to group text for styling purposes.
What is “<strong></strong>” ?
The “Strong” HTML element. It highlights text and usually renders it bold.
What is “<a></a>” ?
The “Anchor” HTML element. Used to create hyperlinks that can point to many different options.
What is “href” ?
The “href” HTML attribute. It determines the location the “Anchor” HTML element points to.
What is “” ?
The “Head” HTML element. Contains metadata, general information about an HTML page that isn’t displayed on the page itself.
What is “target” ?
The “target” HTML attribute. Specifies where a hyperlink should be opened in the “Anchor” HTML element.
What value will make the “target” HTML attribute open a hyperlink in a new browser tab?
Entering the value “_blank” into a “target” HTML attribute.
What is “” ?
The “HTML” element. The root of an HTML document, should be added after the “!DOCTYPE” declaration.
What should be included inbetween the “HTML” element?
All content/structure for an HTML document should be contained between the “HTML” element.
What is “” ?
Then opening and closing indicators of a “Comment” in HTML documents.
What is “” ?
The “Document Type Declaration” in HTML. Acts as an instruction to the browser about what document type to expect.
How do you denote “HTML” as the type in a “Document Type Declaration”?
Add “html” into the declaration: “”
What is “” ?
The “Title” HTML element. Contains text that defines the title of an HTML document.
Where is the “Title” HTML element displayed?
In the browser’s title bar or tab in which the HTML page is displayed.
Where can the “Title” HTML element be contained?
Only inside a document’s “” HTML element.