Start learning →

For styling one element from a stylesheet, which attributes are the better practice to use?

Alang or dir
Bstyle or title
Cid or class
Dhref or src
Answer & Solution
Correct answer: C. id or class
Selecting by id or class from a stylesheet is preferred over writing styles into the style attribute.
Practise this question with Quill — Olympiad (Class 6) →

Keep practising HTML, CSS and Scratch

Browse all HTML, CSS and Scratch questions for Olympiad (Class 6), or explore more Computer Science topics.

Start a HTML, CSS and Scratch lesson →
Related questions