Podcast
Questions and Answers
What is the purpose of the <strong>
element?
What is the purpose of the <strong>
element?
- To define small text
- To define bold text without semantic importance
- To define italic text
- To define emphasized text with strong semantic importance (correct)
Which element is used to define a section quoted from another source?
Which element is used to define a section quoted from another source?
- (correct)
What is the purpose of the <i>
element?
What is the purpose of the <i>
element?
- To define small text with italic font
- To define bold text with strong semantic importance
- To define emphasis with strong semantic importance
- To define italic text without semantic importance (correct)
Which element is used to define a brief quotation?
Which element is used to define a brief quotation?
What is the purpose of the <em>
element?
What is the purpose of the <em>
element?
Which element is used to define an abbreviation or acronym?
Which element is used to define an abbreviation or acronym?
What is the purpose of the `` element?
What is the purpose of the `` element?
Which element is used to define subscripted text?
Which element is used to define subscripted text?
What is the purpose of the text-align property in HTML?
What is the purpose of the text-align property in HTML?
Which of the following is an example of how to use the text-align property?
Which of the following is an example of how to use the text-align property?
What is the default alignment of text in an HTML element?
What is the default alignment of text in an HTML element?
Which HTML element is used to center a heading?
Which HTML element is used to center a heading?
What is the purpose of the style attribute in HTML?
What is the purpose of the style attribute in HTML?
Which property is used to align text vertically in an HTML element?
Which property is used to align text vertically in an HTML element?
What is the difference between the text-align and vertical-align properties?
What is the difference between the text-align and vertical-align properties?
Can you use the text-align property to align text diagonally?
Can you use the text-align property to align text diagonally?
What is the default alignment of table headers () in HTML?
What is the default alignment of table headers () in HTML?
Which attribute is used to make a table cell span multiple columns?
Which attribute is used to make a table cell span multiple columns?
What is the purpose of the tag in HTML?
What is the purpose of the tag in HTML?
What is the default bullet style for unordered lists (
- ) in HTML?
What is the default bullet style for unordered lists (
- ) in HTML?
Which HTML element defines the title of a work?
Which HTML element defines the title of a work?
What is the purpose of the element in HTML?
What is the purpose of the element in HTML?
Which attribute is used to make a table cell span multiple rows?
Which attribute is used to make a table cell span multiple rows?
What is the purpose of the element in HTML?
What is the purpose of the element in HTML?
Study Notes
Formatting Elements
<b>
defines bold text without added semantic importance<strong>
defines strong text with added semantic importance<i>
defines italic text without added semantic importance<em>
defines emphasized text with added semantic importance- `` defines smaller text
HTML Marked Formatting
- `` defines marked or highlighted text
HTML Deleted Formatting
- `` defines deleted (removed) text
HTML Inserted Formatting
- `` defines inserted (added) text
HTML Subscript and Superscript
- `` defines subscripted text
- `` defines superscripted text
HTML Quotations
- `` defines a short quotation
- `` defines a section quoted from another source
HTML Abbreviation
- `` defines an abbreviation or acronym
HTML Preformatted Text
</em></i></strong></b><pre><b><strong><i><em>
displays text in a fixed-width font and preserves spaces and line breaks
HTML Comments
- Comments can be added to HTML source code using the following syntax: ``
- Comments are not displayed by the browser but can help document the source code
HTML Styles
- The style of an HTML element can be set using the
style
attribute - The
style
attribute has the following syntax:style="property:value;"
- Properties include:
background-color
defines the background color for an elementcolor
defines the text color for an elementfont-family
defines the font to use for an elementfont-size
defines the text size for an elementtext-align
defines the horizontal alignment of text for an elementborder
defines the border and its color
HTML Tables
- A table is defined with the
</em></i></strong></b></pre><b><strong><i><em>
tag - Table elements include:
- `` defines a table row
- `` defines a table header (header) cell, displayed in bold and centered
- `` defines a table data cell, can contain all types of HTML elements
- Cells can span multiple columns using the
colspan
attribute - Cells can span multiple rows using the
rowspan
attribute - A caption can be added to a table using the `` tag
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Related Documents
Description
This quiz covers the different types of HTML formatting tags, including those for bold, italic, strong, emphasized, small, marked, deleted, and inserted text. Test your knowledge of HTML formatting elements!