Write the HTML tag
Display the line ‘I m learning HTML’ with font times new roman, font size = 6, and font
color = red
Answers
Answered by
2
Answer:
This is the required HTML c∅de for the question.
<!DOCTYPE html>
<html>
<body>
<font face="Times New Roman" size="6" color="red">
I'm Learning HTML.<br/>
I'm Learning HTML.<br/>
I'm Learning HTML.<br/>
I'm Learning HTML.
</font>
</body>
</html>
Note:
- To change the font style, size etc, the <font> tag is used.
- The face attribute of font tag is used to change the font style.
- The size attribute of font tag is used to change the font size.
- I have used br tag to break the row and move the text to a new line.
See the attachment for output.
Attachments:
Similar questions