Create and apply a CSS class named BigBlue, which selects a large, blue-colored
ID: 3696529 • Letter: C
Question
Create and apply a CSS class named BigBlue, which selects a large, blue-colored font.
Create and apply a CSS class named YellowBackground that selects a yellow background. Apply the class to your HTML file’s body tag.
3. Create an ordered list that uses both the BigBlue and YellowBackground styles that you created in Questions 1 and 2.
4. Create a paragraph-specific class named BigBlue that you created in Question 1, which uses the Arial font. Show the use of the standard and class-specific classes within your HTML file.
Explanation / Answer
Index.html
<!Doctype Html>
<html>
<head>
<title>HTML</title>
<style type="text/css">
.BigBlue{color:blue; font-size: large; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;}
.YellowBackground {background:yellow;}
</style>
</head>
<body >
<div class="YellowBackground">
<ol class="BigBlue">
<li>Line-1</li>
<li>Line-2</li>
<li>Line-3</li>
<li>Line-4</li>
<li>Line-5</li>
</ol>
</div>
<p class="BigBlue">Create and apply a CSS class named BigBlue, which selects a large, blue-colored font.
Create and apply a CSS class named YellowBackground that selects a yellow background. Apply the class to your HTML files body tag.
3. Create an ordered list that uses both the BigBlue and YellowBackground styles that you created in Questions 1 and 2.
4. Create a paragraph-specific class named BigBlue that you created in Question 1, which uses the Arial font. Show the use of the standard and class-specific classes within your HTML file.</p>
</body>
</html>
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.