Computer Science, asked by arvind155415, 10 months ago

Form a CSS code within the <head>….</head> for the following specifications:

Background colour : blue

For the paragraph,

font family is Dotum and colour of the text is red

Heading should be in black colour​

Answers

Answered by Mukeshgorain338
126

actually i think you should try better rather than writing you code in html file

you should another filw to your html head element link you file

by <link rel="stylesheet" herf="you file location" >

after that you add specs like

p {color: red , font-family:"Dotum"background-color: blue;}

h1 {color: black;}

Here what you wants

<!DOCTYPE html>

<html>

<head>

<style>

body {background-color: blue;}

h1 {color: black;}

p {color: red , font-family:"Dotum";}

</style>

</head>

<body>

<h1>This is a heading</h1>

<p>This is a paragraph.</p>

</body>

</html>

Mark it brainlist if its helpfull to you

Answered by diyakadecha
5

Answer:

by <link rel="stylesheet" herf="you file location" >

after that you add specs like

p {color: red , font-family:"Dotum"background-color: blue;}

h1 {color: black;}

Here what you wants

<!DOCTYPE html>

<html>

<head>

<style>

body {background-color: blue;}

h1 {color: black;}

p {color: red , font-family:"Dotum";}

</style>

</head>

<body>

<h1>This is a heading</h1>

<p>This is a paragraph.</p>

</body>

</html>

Mark it brainlist if its helpfull to you

Explanation:

Similar questions