Html miscellaneous
- Which is not a tool to build responsive websites?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
We need several tools to build our website. To build a responsive website we need web browsers, responsive bookmarklets, code editors for responsive design testing.
- What should be set with text-align property so that every line has equal width like in magazines and newspapers?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
By setting text-align property to “justify”, each line is stretched so that every line has equal width, left and right margins are straight like in magazines and newspapers. Text-align: center, text-align: right, text-align: left is also used for aligning the text at center, right and left respectively.
- Which of the following is the attribute that is used to set a global identifier for a microdata item?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
The unique id for an element in html is specified by id attribute. Itemmid allows a vocabulary to define a global identifier for a microdata item, for example an ISBN number on a book. Use itemid on the same element as the item’s itemscope and itemtype attributes.
- The goal of microdata is to create a unified way to define the data in a way any web crawler or reader implementation can read it.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
Microdata allows the user to create “custom” elements (sort of), to give a specific meaning to them. Microdata is an HTML specification is used to add more information to HTML. The Microdata spec provides a standardized syntax for additional semantic markup to your web pages to enhance the machine readability of your web pages.