Text Flashcards
What is a heading element and how many different types are there?
A heading element is an element that creates a heading on a webpage.
Heading elements run from H1-H2-H3-H4-H5-H6
Please note only 1 H1 should be used per webpage, all other heading elements can be used multiple times
How can you make text bold on a webpage using only HTML?
Please provide an example
Wrap the text you want to make bold in a (b) element.
/b)(p) text text (b) bold text text text (/b)(/p
How can we make text italic using only HTML?
Please give an example
We can use the (i) element to make text italic.
/i)(p) text (i) italic text text (/i)(/p
What are the (sup) and (sub) elements?
Please provide examples to help you with this question
(sup) is used for text that should be superscripted for example a mathematical equation containing powers
(sub) is used for text that should be subscripted for example co2 the 2 should be subscripted on a webpage