HTML interview questions part 5

HTML interview questions part 5

Take as many assements as you can to improve your validate your skill rating

Total Questions: 20

1. Metadata does not define _________

Correct Answer is : color

2. State whether the given statement is true or false. “We can intermix XHTML and HTML 4.01 documents”

Correct Answer is : FALSE

3. How can you create an e-mail link?

Correct Answer is : A href="mailto:xxx@yyy.com"

4. Choose the correct HTML for width attribute and its value.

Correct Answer is : width=”80″

5. Which of the following XHTML doctype declaration contains all HTML elements and attributes, including presentational and deprecated elements (like font) but not framesets?

Correct Answer is : !DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”

6. HTML and XHTML stands for ______

Correct Answer is : Hyper Text Markup Language and Extensible HyperText Markup Language

7. Choose the correct tag for the largest heading in HTML.

Correct Answer is : h1

8. Which of the following are table tags?

Correct Answer is : table, thead, tr, td

9. What is the default type of ‘type’ attribute of element?

Correct Answer is : Text

10. Which of the following is a new input attribute introduce by HTML5?

Correct Answer is : date

11. How does the color attribute work?

Correct Answer is : The color picker is defined by it

12. Which attribute is used for activation of JavaScript?

Correct Answer is : button

13. Which attribute defines the file-select field?

Correct Answer is : file

14. How image attribute works?

Correct Answer is : Set an image as submit button

15. month attribute defines ___________

Correct Answer is : month and year

16. week attribute defines ____________

Correct Answer is : week and year

17. tel attribute is supported by the _________ browser.

Correct Answer is : Safari

18. Which attribute is not used on new forms?

Correct Answer is : size

19. Which of the following is not used with password attribute?

Correct Answer is : min

20. Which element is used to create multi-line text input?

Correct Answer is : textarea

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon