2 – Exercise

Estimated reading: 1 minute 69 views

Create a simple HTML document with a heading, paragraph, and an image.

				
					The HTML style attribute is used to add styles to an element, such as color, font, size, and more.
<h1 style="background-color:powderblue;">This is a heading</h1>
<p style="background-color:tomato;">This is a paragraph.</p>

				
			
Share this Doc

2 – Exercise

Or copy link