write a code in html to display a text INFORMATION TECHNOLOGY having font size 24,and background color pink and blinking effect
Answers
Answered by
20
<html>
<body bgcolor="pink">
<font face="arial" size="24">
<strong>INFORMATION TECHNOLOGY</STRONG>
</font>
</body>
</html>
<body bgcolor="pink">
<font face="arial" size="24">
<strong>INFORMATION TECHNOLOGY</STRONG>
</font>
</body>
</html>
Answered by
3
Since the traditional set of attributes can no longer be used in your html document, we need to add the formatting using CSS (Cascading style sheets).
- <blink> attribute is no longer in existence in order to add the blink effect we'll need to add javascript for animation.
- Following is the code as to how to add formatting in your html webpage:
<!DOCTYPE html>
<html>
<head>
<style>
body { background-color: pink; }
p { size: 24; }
</style>
</head>
<body>
<p>INFORMATION TECHNOLOGY </p>
</body>
</html>
Attachments:

Similar questions