Email Flashcards
What does valign=”top” mean?
The purpose of the HTML valign attribute is to define the vertical alignment of the content of a table cell.
Top sets the vertical alignment of cell content top.
What does cellpadding do?
The purpose of the HTML cellpadding attribute is to set a spacing WITHIN table cells.
On what element is cellpadding set?
Cellpadding attribute supports table element.
What can the value of cellpadding be?
pixel, percent or multilength(i.e. relative length).
What does cellspacing do?
The purpose of the HTML cellspacing attribute is to set a spacing BETWEEN table cells.
On what element is cellpadding set?
Cellpadding attribute supports table element.
What is the difference between cellspacing and cellpadding?
The purpose of the HTML cellspacing attribute is to set a spacing BETWEEN table cells.
The purpose of the HTML cellpadding attribute is to set a spacing WITHIN table cells.
Why use the attribute role=”presentation” on a table?
While ARIA is primarily used to express semantics, there are some situations where hiding an element’s semantics from assistive technologies is helpful. This is done with the presentation role or its synonym role none, which declare that an element is being used only for presentation and therefore does not have any accessibility semantics.