- index.html
- style.css
HTML
<!DOCTYPE html>
<html>
<head>
<title>Attributes of HTML tags</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1>Instructor Cupcake</h1>
<p>In future courses, you'll often get help from Instructor Cupcake. Let's give him a chance to introduce himself:</p>
<img>
<hr>
<blockquote>
<p>Hi, my name is Cupcake and I am your future instructor. I am a web developer. My most famous projects are:<br>
Cat Energy blog,<br>
HTML and CSS course,<br>
JavaScript course.</p>
<p>We'll see you in future courses!</p>
</blockquote>
</body>
</html>
CSS
body {
font-family: "Georgia", serif;
}
blockquote {
margin: 1.5em 0;
padding: 0.5em 15px;
line-height: 1.5;
background-color: #f9f9f9;
border-left: 2px solid #cccccc;
}
/* Example of photo design */
.photocard {
display: block;
width: 300px;
margin: 20px auto;
border-radius: 10px;
box-shadow: 0 0 5px #666666;
}
You have moved to another page
GoalsCompleted
0
- Add the
src
attribute with the valuekeks.jpg
to theimg
tag, - and
class
attribute with the valuephotocard
.