Podcast
Questions and Answers
What is the purpose of the <strong>
element?
What is the purpose of the <strong>
element?
Which element is used to define a section quoted from another source?
Which element is used to define a section quoted from another source?
What is the purpose of the <i>
element?
What is the purpose of the <i>
element?
Which element is used to define a brief quotation?
Which element is used to define a brief quotation?
Signup and view all the answers
What is the purpose of the <em>
element?
What is the purpose of the <em>
element?
Signup and view all the answers
Which element is used to define an abbreviation or acronym?
Which element is used to define an abbreviation or acronym?
Signup and view all the answers
What is the purpose of the `` element?
What is the purpose of the `` element?
Signup and view all the answers
Which element is used to define subscripted text?
Which element is used to define subscripted text?
Signup and view all the answers
What is the purpose of the text-align property in HTML?
What is the purpose of the text-align property in HTML?
Signup and view all the answers
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?
Signup and view all the answers
What is the default alignment of text in an HTML element?
What is the default alignment of text in an HTML element?
Signup and view all the answers
Which HTML element is used to center a heading?
Which HTML element is used to center a heading?
Signup and view all the answers
What is the purpose of the style attribute in HTML?
What is the purpose of the style attribute in HTML?
Signup and view all the answers
Which property is used to align text vertically in an HTML element?
Which property is used to align text vertically in an HTML element?
Signup and view all the answers
What is the difference between the text-align and vertical-align properties?
What is the difference between the text-align and vertical-align properties?
Signup and view all the answers
Can you use the text-align property to align text diagonally?
Can you use the text-align property to align text diagonally?
Signup and view all the answers
What is the default alignment of table headers () in HTML?
What is the default alignment of table headers () in HTML?
Signup and view all the answers
Which attribute is used to make a table cell span multiple columns?
Which attribute is used to make a table cell span multiple columns?
Signup and view all the answers
What is the purpose of the tag in HTML?
What is the purpose of the tag in HTML?
Signup and view all the answers
What is the default bullet style for unordered lists (
- ) in HTML?
What is the default bullet style for unordered lists (
- ) in HTML?
Signup and view all the answers
Which HTML element defines the title of a work?
Which HTML element defines the title of a work?
Signup and view all the answers
What is the purpose of the element in HTML?
What is the purpose of the element in HTML?
Signup and view all the answers
Which attribute is used to make a table cell span multiple rows?
Which attribute is used to make a table cell span multiple rows?
Signup and view all the answers
What is the purpose of the element in HTML?
What is the purpose of the element in HTML?
Signup and view all the answers
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 element -
color
defines the text color for an element -
font-family
defines the font to use for an element -
font-size
defines the text size for an element -
text-align
defines the horizontal alignment of text for an element -
border
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!