Basic HTML: Part- 05 :: What is HTML Attributes

No comments exist


What are HTML Attributes:

The work of attributes is to modify the tags, that means attributes are used to increase the tag capacity, much like CSS. If you create a template with HTML, the attributes increase the style of the template, the value.

Type the following codes at the Notepad ++:

<html>
<head>
<title> This is Example of BG Color </title>
</head>
<body bgcolor="green">
<font size="4" Face="New Time Roman" Color="red">
Hi My name is Md Sakhawat Sojib
</font>
</body>
</html>

Save the code as new.html. Now, open the file, you will see a web browser appear below.



Leave a Reply

Your email address will not be published.