Answer to Question #174958 in HTML/JavaScript Web Application for Rania

Question #174958


Write CSS code to make all second-level headings (h2 elements) green and italic. 

Create a webpage titled “Midterm Exam” which displays your full name, centered, with font size 30 pixels, bold format, in "Times New Roman" font and red in color using inline CSS. 



1
Expert's answer
2021-03-24T05:20:59-0400
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Midterm Exam</title>

    <style>
        h2 {
            color: green;
            font-style: italic;
        }
    </style>
</head>
<body>
    <h1 style="text-align: center; font-size: 30px; font-weight: bold; font-family: 'Times New Roman'; color: red;">Lysun Sergiy</h1>
</body>
</html>

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS