<html>
<head>
<title>
My first page
</title>
</head>
<body>
I am writing code
</body>
</html>
![]() |
| My first page |
Using the tag <font> and its attributes
<html>
<head>
<title>
Using the tag font
</title>
</head>
<body>
<font color = "red"> I am writing code </font>
<font color = "green"> and I am learning </font>
<font color = "blue"> and I am enjoying HTML code </font>
</body>
</html>
![]() |
| Using the tag font |
Using the tag <p> and horizontal tag <hr>
<html>
<head>
<title>
Using line feed tag <p> and color attribute
</title>
</head>
<body>
<font color = "red"> I am writing code </font>
<p> <font color = "green"> and I am Using line feed tag and color attribute </font> </p>
<p> <font color = "blue"> and I am enjoying HTML code </font> </p>
<hr width = "70%" align = "center">
</body>
</html>
![]() |
| Using line feed tag <p> |
Using align attribute
<html>
<head>
<title>
My new page using align attribute
</title>
</head>
<body>
<font color = "red"> I am writing code </font>
<p> <font color = "green"> and I am learning </font> </p>
<p> <font color = "blue"> and I am enjoying HTML code </font> </p>
<hr width ="85%" align = "center">
<p> <font color = "black"> Exercise changing aligning of the sentences </font> </p>
<p align= "left"> Changing aligning to the left </font> </p>
<p align= "right"> <font color ="green"> Changing aligning of the words to the right</font> </p>
<p align= "center"> <font color ="red"> Changing aligning of the words to the center </font> </p>
</body>
</html>
![]() |
| Using align attribute |
Using <font size = "1">
El valor del tamaño ("?") deseado puede suministrarse de manera absoluta (un número del 1 al 10)






No comments:
Post a Comment