हिंदी

Which one of these name and value declarations would not work?

Advertisements
Advertisements

प्रश्न

Which one of these name and value declarations would not work?

विकल्प

  • margin:20px 00 30%;
  • margin;20px 30%:
  • margin:20px 30%;
  • margin:20px 23px 5% 30px;
MCQ
Advertisements

उत्तर

margin;20px 30%:

Explanation:

This declaration contains two critical syntax errors that break standard CSS rules:
  • Incorrect Property Separator: It uses a semicolon (margin;) instead of a colon (margin:) after the property name.
  • Incorrect Terminator: It ends with a colon (:) instead of a semicolon (;).
shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 6: Cascading Style Sheets (CSS) - Assignment [पृष्ठ २७५]

APPEARS IN

सुमिता अरोरा Computer Applications [English] Class 10
अध्याय 6 Cascading Style Sheets (CSS)
Assignment | Q 6. | पृष्ठ २७५
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×