Write the html code to display thank you in yellow colors , size 5 and font style should be comic sans MS
Answers
Answered by
2
Fonts
You can format the text in a webpage by setting the < font > ... < /font > tag and various font attributes. The font tag is having three attributes called size, color, and face for customize text in a webpage.
Font Face
The Font Face attribute specifies the font name of the text inside a Font tag.
<font face="Arial"> Arial Font </font>
When you specify a Font Face, the typeface you specify must be installed on the computer of the person viewing the web page.
The value of the face attribute can hold several font names separated by a comma.
<font face="Sans serif,Comic Sans MS,Lucida Console>
A visitor will only be able to see your font if they have that font installed on their computer.
When your page is loaded, browser will display the first font face that it has available, otherwise second one and so on. If the specified fonts are not installed on your computer then it will load default font face of web browser. Always use double quotes around the font names.
Font Size
You can set the size of the font by changing the size attribute of < font > tag.
<font size=7>Font size 7</font>
You can format the text in a webpage by setting the < font > ... < /font > tag and various font attributes. The font tag is having three attributes called size, color, and face for customize text in a webpage.
Font Face
The Font Face attribute specifies the font name of the text inside a Font tag.
<font face="Arial"> Arial Font </font>
When you specify a Font Face, the typeface you specify must be installed on the computer of the person viewing the web page.
The value of the face attribute can hold several font names separated by a comma.
<font face="Sans serif,Comic Sans MS,Lucida Console>
A visitor will only be able to see your font if they have that font installed on their computer.
When your page is loaded, browser will display the first font face that it has available, otherwise second one and so on. If the specified fonts are not installed on your computer then it will load default font face of web browser. Always use double quotes around the font names.
Font Size
You can set the size of the font by changing the size attribute of < font > tag.
<font size=7>Font size 7</font>
Similar questions