हिंदी

What is wrong in the following coding? <FONT name = “Arial” type = “Bold” size = 3>

Advertisements
Advertisements

प्रश्न

What is wrong in the following coding?

<FONT name = “Arial”

type = “Bold” size = 3>

कोड लेखन
Advertisements

उत्तर

The <FONT> tag has three attributes :

  1. face — It defines the font type
  2. color — It sets the color of font
  3. size — It sets the size of font

Type attribute is not used with <FONT> tag. To make the text bold, we use the <B> or <STRONG> tag.

The correct code is as follows:

<FONT face = "Arial" size = "3">
shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 3: HTML- I: Basic HTML Elements - Assignment [पृष्ठ १२८]

APPEARS IN

सुमिता अरोरा Computer Applications [English] Class 10
अध्याय 3 HTML- I: Basic HTML Elements
Assignment | Q 18. (ii) | पृष्ठ १२८
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×