Write HTML code to display a text Welcome to online exam 2020"having font size 30 and font colour green using only CSS
this problems is so simple you can solve it in many ways in html programming
here we give some example try any one
example no.1
<html>
<head>
<title>Welcome to online exam 2020</title>
<style>
#newtext
{
color:green;
font-size:30px;
}
</style>
<body>
<h1 id="newtext">Welcome to online exam 2020</h1>
</body>
</html>
</head>
example 2
<html>
<head>
<title>Welcome to online exam 2020</title>
<style>
#newtext
{
color:green;
font-size:30px;
}
</style>
<body>
<div id="newtext">Welcome to online exam 2020</div>
</body>
</html>
</head>
0 comments:
Post a Comment