HTML Flashcards
What does the tag represent?
The visible part of the HTML document
What is an element?
Everything between opening tag and closing tag . Including text and other child elements
Two parts of an element’s attributes?
name and value
What Attribute is available for all elements?
ID and lang
what do <b> and <i> tags do?</i></b>
make bold and italic, but now mainly used for emphasis. You can also use <strong> for bold and <em> for italic</em></strong>
what do and tags do?
subscript and superscript. although this is better done in CSS
define “empty element”
an element without text content
what is the <hr> tag?
Horizontal rule
How do you indent a whole section of text?
<blockquote></blockquote>
Two other tags to show bold and italic
<strong> and <em></em></strong>
what element does “cite” attribute go on?
a quote. Can be used to direct to the quotation’s source
How do you set an Acronym apart?
with the <abbr> tag. The title=”something” attribute of the abbr tag can then be used to explain the abbreviation when the user hovers over the text</abbr>
Tags to strike through and underline text?
<del> - strikethrough. <ins> - underline</ins></del>
how do you create multi-tiered lists
with <ul> or </ul><ol> tags within the <li> tag - which is always within an outer <ul> or </ul><ol></ol></li></ol>
Two types of Markup?
- structural - layout 2. semantic - inline. defining text format
word for full URL?
Absolute reference
opposite of full URL
Relative Reference
name for main folder of website?
Root folder
attribute of <a> that tells it to open in new window?</a>
target=_blank
What <img></img> attribute gives user info when they hover?
title=”something”
Two ways to display content elements?
block (takes own line) and inline (shares line with other elements)