HTML-attributes

Lesson-2


We can use attributes for HTML tags. By using attributes to a particular HTML tag we can change the appearance of that statement.

I provide both code and screenshots

You can view the video  of this tutorial on my youtube channel. The link is

https://www.youtube.com/watch?v=USBG94gf4N0

<!DOCTYPE html>
<html>
<head>
<title>Attributes</title>
</head>
<body bgcolor="green"> <!--background color changed-->
<h1 align="center">This text is center</h1>
<h2 align="right">This text is in right corner</h2>
<font color="yellow"> This text is red colour</font>

</body>
</html>










No comments:

Post a Comment