W3C Flashcards

1
Q

What formatting elements you know?

A
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>
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What tag do you use for short quotations?

A

q

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

The HTML element defines a section that is quoted from another source?

A

blockquote

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are 3 ways CSS can be added to HTML elements?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What values “target” attribute can have?

A

_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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What tag defines an image-map with clickable areas?

A

map

Example:

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How to use different sources for the image with HTML5?

A

picture

Example:

<img></img>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What for <img></img> tag uses inside tag?

A

The <img></img> element is used by browsers that do not support the element

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Remember the main list of features of element?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What options “list-style-type” have?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What options “type” attribute of the <ol> tag have?</ol>

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is description list?

A

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>
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is Block-level Elements?

A

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).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Try to list all block-level HTML elements?

A

<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>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is Inline Elements?

A

An inline element does not start on a new line and only takes up as much width as necessary.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What element do you use to display web page within a web page?

A