W3C Flashcards
What formatting elements you know?
b - <b>Bold text</b> strong - <strong>Important text</strong> i - <i>Italic text</i> em - <em>Emphasized text</em> mark - Marked text small - <small>Small text</small> del - <del>Deleted text</del> ins - <ins>Inserted text</ins> sub - <sub>Subscript text</sub> sup - <sup>Superscript text</sup>
What tag do you use for short quotations?
q
The HTML element defines a section that is quoted from another source?
blockquote
What are 3 ways CSS can be added to HTML elements?
Inline - by using the style attribute in HTML elements
Internal - by using a element in the <head> section
External - by using an external CSS file
What values “target” attribute can have?
_blank - Opens the linked document in a new window or tab
_self - Opens the linked document in the same window/tab as it was clicked (this is default)
_parent - Opens the linked document in the parent frame
_top - Opens the linked document in the full body of the window
What tag defines an image-map with clickable areas?
map
Example:
How to use different sources for the image with HTML5?
picture
Example:
<img></img>
What for <img></img> tag uses inside tag?
The <img></img> element is used by browsers that do not support the element
Remember the main list of features of element?
Use the HTML element to define a table
Use the HTML element to define a table row
Use the HTML element to define a table data
Use the HTML element to define a table heading
Use the HTML element to define a table caption
Use the CSS border property to define a border
Use the CSS border-collapse property to collapse cell borders
Use the CSS padding property to add padding to cells
Use the CSS text-align property to align cell text
Use the CSS border-spacing property to set the spacing between cells
Use the colspan attribute to make a cell span many columns
Use the rowspan attribute to make a cell span many rows
Use the id attribute to uniquely define one table
What options “list-style-type” have?
disc Sets the list item marker to a bullet (default)
circle Sets the list item marker to a circle
square Sets the list item marker to a square
none The list items will not be marked
What options “type” attribute of the <ol> tag have?</ol>
type=”1” The list items will be numbered with numbers (default)
type=”A” The list items will be numbered with uppercase letters
type=”a” The list items will be numbered with lowercase letters
type=”I” The list items will be numbered with uppercase roman numbers
type=”i” The list items will be numbered with lowercase roman numbers
What is description list?
The <dl> tag defines the description list, the <dt> tag defines the term (name), and the </dt><dd> tag describes each term.
Example:
<dl> <dt>Coffee</dt> <dd>- black hot drink</dd> <dt>Milk</dt> <dd>- white cold drink</dd> </dl></dd></dl>
What is Block-level Elements?
A block-level element always starts on a new line and takes up the full width available (stretches out to the left and right as far as it can).
Try to list all block-level HTML elements?
<address>
<blockquote>
<dd>
<div>
<dl>
<dt>
<h1>-<h6>
<hr></hr>
<li>
<ol>
<p>
</p><pre>
<ul>
</ul></pre></ol></li></h6></h1></dt></dl></div></dd></blockquote></address>
What is Inline Elements?
An inline element does not start on a new line and only takes up as much width as necessary.