This forum is now read-only. Please use our new forums! Go to forums
All Paragraphs turn to cursive?
<!DOCTYPE html>
<html>
<head>
<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
<title></title>
</head>
<body>
<div>
<p>I'm the first child!</p>
<p>We're not.</p>
<p>We're not.</p>
<p>We're not.</p>
<p>We're not.</p>
<p>We're not.</p>
<p>We're not.</p>
</div>
</body>
</html>
That was the HTML tab above.
div:first-child {
font-family: cursive;
}
That was the CSS Tab above.
When I typed in the CSS it made all paragraphs beneath the div cursive! Plz help
Answer 528cf2bb548c35c8be004ab1
1 vote
/Add your CSS below!/ p:first-child{ font-family: Cursive; }
Answer 520eb51fabf8213409007b08
Answer 53209ebb7c82cabff1000094
0 votes
div p:first-child { font-family: cursive; }
Popular free courses
- Free Course
Learn SQL
In this SQL course, you'll learn how to manage large datasets and analyze real data using the standard data management language.Beginner friendly,4 LessonsLanguage Fluency - Free Course
Learn JavaScript
Learn how to use JavaScript — a powerful and flexible programming language for adding website interactivity.Beginner friendly,11 LessonsLanguage Fluency - Free Course
Learn HTML
Start at the beginning by learning HTML basics — an important foundation for building and editing web pages.Beginner friendly,6 LessonsLanguage Fluency
1 comments
As in, p:first-child, right? Good lesson to learn.