Text Flashcards

1
Q

What is a heading element and how many different types are there?

A

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

How can you make text bold on a webpage using only HTML?

Please provide an example

A

Wrap the text you want to make bold in a (b) element.

/b)(p) text text (b) bold text text text (/b)(/p

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

How can we make text italic using only HTML?

Please give an example

A

We can use the (i) element to make text italic.

/i)(p) text (i) italic text text (/i)(/p

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

What are the (sup) and (sub) elements?

Please provide examples to help you with this question

A

(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

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