Span and Div
HTML / CSS
10 pts
Span and Div
Improve the page about Massawa:
- In the first paragraph, wrap the words Red Sea in a
<span>. - Give that span a
styleattribute with a colour, for examplestyle="color: teal;". - Wrap the heading and both paragraphs together in one
<div>.
Checklist
- Mark the words Red Sea with an inline container.
- Give those words a colour.
- Group the heading and paragraphs in a block container.
🔑 Solution
If you view the solution before passing, you earn half points for this exercise. You still need to type it and press Check to finish.
How it works, step by step
Point at a step to highlight its lines. Type the solution yourself and press Check answer to finish.
