Loading...

HTML Multiple Choice Questions

Our HTML questions and answers focuses on all areas of HTML Language language covering 100+ topics in HTML

HTML Attributes MCQs

HTML Attributes-1


1. Which of the following HTML attribute is used to define inline styles?

a) style
b) type
c) class
d) None of the above



2. An HTML file is saved by using the ________ extension.

a) .htm
b) .ht
c) .web
d) .html



3. Which of the following are the attributes of the tag?

a) method
b) action
c) Both (a) & (b)
d) None of the above



4. Which of the following attribute is used to provide a unique name to an element?

a) class
b) id
c) type
d) All of the above



5. Imagelink can show a text label if you add property

a) alt
b) str
c) alternative
d) All of the above



6. Which property tells how many rows a cell should span?

a) colspan = n
b) rowspan = n
c) Both (a) & (b)
d) None of the above



7. The attribute used choose the type of font in HTML is

a) Character
b) Face
c) Text-type
d) All of the above



8. What does vlink means

a) active link
b) visible link
c) visited link
d) None of the above



9. The attibute used to create the actual section within the current HTML document is

a) LINK
b) HERF
c) BASE
d) NAME



10. The default value of border attribute is

a) 1 pixel
b) 2 pixel
c) 3 pixel
d) None of the above



- Related Topics