Computer scienceFrontendCSSBasic propertiesCommon properties

Colors in CSS

The first programmer in history

Report a typo

Set the background color #FAEBD7 for the div element.

Write HTML and CSS code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Ada Lovelace</title>
</head>
<body>
<div>
<h1>The first programmer in history</h1>
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/8/87/Ada_Lovelace.jpg/220px-Ada_Lovelace.jpg">
<p><b>Augusta Lovelace</b> was an English mathematician and writer, chiefly known for her work on Charles Babbage's proposed mechanical general-purpose computer, the Analytical Engine. She was the first to recognise that the machine had applications beyond pure calculation, and published the first algorithm intended to be carried out by such a machine. As a result, she is sometimes regarded as the first to recognise the full potential of a "computing machine" and one of the first computer programmers.</p>
</div>
</body>
</html>
Completed 1 of 2
The <div> element has changed its background color
The code is valid
___

Create a free account to access the full topic