MCQOPTIONS
Saved Bookmarks
This section includes 571 Mcqs, each offering curated multiple-choice questions to sharpen your Html knowledge and support exam preparation. Choose a topic below to get started.
| 251. |
The __________ property specifies the type of positioning method used for an element. |
| A. | align |
| B. | float |
| C. | position |
| D. | padding |
| Answer» D. padding | |
| 252. |
Which of the following specifies the distance between the borders of adjacent cells? |
| A. | border-spacing-cell |
| B. | border-width-spacing |
| C. | border-spacing |
| D. | cell-spacing |
| Answer» D. cell-spacing | |
| 253. |
Choose the option that correctly specifies the output of the following CSS. span { border: 1px solid red; outline: green dotted thick; } |
| A. | All span elements will have a red border and a green dotted outline |
| B. | All span elements will have a green thick border and a red outline |
| C. | All span elements will have an outer red border and inner green dotted border |
| D. | All span elements will have a outer green dotted border and an inner red border |
| Answer» E. | |
| 254. |
Which of the following property defines the border-width, border-style and border-color of an element’s top border in a single declaration? |
| A. | border |
| B. | border-top |
| C. | border-top-corner |
| D. | border-top-style |
| Answer» C. border-top-corner | |
| 255. |
Which of the following Selector same as :firstline; changed under CSS3 to make pseudoelements obvious? |
| A. | :first-letter |
| B. | :last-child |
| C. | :first-line |
| D. | ::first-line |
| Answer» E. | |
| 256. |
Which of the following Selector selects an element if it’s the only child of its parent with its type? |
| A. | @media |
| B. | :target |
| C. | ::selection |
| D. | :only-of-type |
| Answer» E. | |
| 257. |
HTML stands for? |
| A. | Hyper Text Markup Language |
| B. | High Text Markup Language |
| C. | Hyper Tabular Markup Language |
| D. | None of these |
| Answer» B. High Text Markup Language | |
| 258. |
Link URL in HTML is specified using __________ attribute. |
| A. | src |
| B. | href |
| C. | link |
| D. | rel |
| Answer» C. link | |
| 259. |
WHAT CSS DEFINE IN HTML? |
| A. | How to save HTML elements |
| B. | How to send HTML elements |
| C. | How to made HTML elements |
| D. | How to display HTML elements |
| Answer» E. | |
| 260. |
CSS STANDS FOR? |
| A. | Central Style Sheets |
| B. | Common Style Sheets |
| C. | Cascading Style Sheets |
| D. | Control Style Sheets |
| Answer» D. Control Style Sheets | |
| 261. |
What is the default value of y-axis co-ordinate of center of the circle? |
| A. | 0 |
| B. | -1 |
| C. | Any arbitrary value. |
| D. | None of the above. |
| Answer» B. -1 | |
| 262. |
Basic Fundamental Block is called as ___________. |
| A. | HTML Element |
| B. | HTML Attribute |
| C. | HTML Body |
| D. | HTML Tag |
| Answer» E. | |
| 263. |
The common element which describe the web page, is? |
| A. | heading |
| B. | paragraph |
| C. | list |
| D. | All of these. |
| Answer» E. | |
| 264. |
Which of the following command of path element closes the path? |
| A. | A |
| B. | Z |
| C. | Q |
| D. | T |
| Answer» C. Q | |
| 265. |
Which of the following command of path element creates a horizontal line? |
| A. | M |
| B. | L |
| C. | H |
| D. | V |
| Answer» D. V | |
| 266. |
Which of the following represents y-axis co-ordinate of the center of the ellipse? |
| A. | y |
| B. | cy |
| C. | ry |
| D. | None of the above |
| Answer» C. ry | |
| 267. |
Which of the following attribute of text tag of SVG sets the rotation to be applied to all glyphs? |
| A. | rotation |
| B. | y |
| C. | dx |
| D. | dy |
| Answer» B. y | |
| 268. |
Which of the following is true about Linear gradients? |
| A. | Linear Gradients represents linear transition of one color to another from one direction to another. |
| B. | It is defined using <linearGradient> element. |
| C. | Both of the above. |
| D. | None of the above. |
| Answer» D. None of the above. | |
| 269. |
Which of the following stroke property defines thickness of text, line or outline of any element? |
| A. | stroke |
| B. | stroke-width |
| C. | stroke-linecap |
| D. | stroke-dasharray |
| Answer» C. stroke-linecap | |
| 270. |
Which of the following tag of SVG is used to draw a circle? |
| A. | circle |
| B. | ellipse |
| C. | Both of the above. |
| D. | None of the above. |
| Answer» B. ellipse | |
| 271. |
Is it possible to insert a table within another table? |
| A. | Yes, but there must be exactly 2 rows and 2 columns in first table. |
| B. | Yes, table can be inserted into cell of another table. |
| C. | Yes, but there must be no border in second table. |
| D. | No, it’s not possible. |
| Answer» C. Yes, but there must be no border in second table. | |
| 272. |
Choose the correct HTML tag to left-align the content of a cell. |
| A. | <tdleft> |
| B. | <td leftalign> |
| C. | <valign= “left”> |
| D. | <td align= “left”> |
| Answer» E. | |
| 273. |
Which of the following tags are related to Table in HTML ? |
| A. | <table> <row> <column> |
| B. | <table> <tr> <td> |
| C. | <table< <head> <body> |
| D. | <table> <header> <footer> |
| Answer» C. <table< <head> <body> | |
| 274. |
What is the use of Forms in HTML? |
| A. | to display contents of email. |
| B. | to display animation effect. |
| C. | to collect user’s input. |
| D. | None of the Above. |
| Answer» D. None of the Above. | |
| 275. |
What is the use of iframe in HTML? |
| A. | to display a web page within a web page. |
| B. | to display a web page with animation effect. |
| C. | to display a web page without browser. |
| D. | All of the Above. |
| Answer» B. to display a web page with animation effect. | |
| 276. |
What is tag in HTML? |
| A. | It renders fonts as teletype text font style. |
| B. | It renders fonts as truetype text font style. |
| C. | It renders fonts as truncate text font style. |
| D. | None of the Above. |
| Answer» B. It renders fonts as truetype text font style. | |
| 277. |
Which HTML tag would be used to display power in expression (A+B)2 ? |
| A. | <SUP> |
| B. | <SUB> |
| C. | <B> |
| D. | <P> |
| Answer» B. <SUB> | |
| 278. |
Choose the correct HTML tag for the largest heading? |
| A. | <H1> |
| B. | <H6> |
| C. | <H10> |
| D. | <HEAD> |
| Answer» B. <H6> | |
| 279. |
… tag is used for ________ |
| A. | Table heading |
| B. | Table Records |
| C. | Table row |
| D. | none of the above |
| Answer» C. Table row | |
| 280. |
Choose the correct HTML tag to make the text bold? |
| A. | <B> |
| B. | <BOLD> |
| C. | <STRONG> |
| D. | Both A) and C) |
| Answer» E. | |
| 281. |
using tag will |
| A. | start a new paragraph |
| B. | break the line |
| C. | end the current paragraph |
| D. | none of the above |
| Answer» B. break the line | |
| 282. |
… tag can be placed within ________ |
| A. | Header |
| B. | Body |
| C. | both A and B |
| D. | none of the above |
| Answer» D. none of the above | |
| 283. |
Which tag is used to display the large font size? |
| A. | <LARGE> </LARGE> |
| B. | <BIG> </BIG> |
| C. | < SIZE > </SIZE> |
| D. | <FONT> </FONT> |
| Answer» C. < SIZE > </SIZE> | |
| 284. |
… tag is used to ________ |
| A. | display the numbered list |
| B. | underline the text |
| C. | display the bulleted list |
| D. | bold the text |
| Answer» D. bold the text | |
| 285. |
Text within … tag is displayed as ________ |
| A. | bold |
| B. | italic |
| C. | list |
| D. | indented |
| Answer» B. italic | |
| 286. |
Which attribute is used with img tag to display the text if image could not load in browser? |
| A. | description |
| B. | name |
| C. | alt |
| D. | id |
| Answer» D. id | |
| 287. |
Text within … tag is displayed as ________ |
| A. | bold |
| B. | italic |
| C. | list |
| D. | indented |
| Answer» C. list | |
| 288. |
Which attribute you’ll use with TD tag to merge two cells horizontally? |
| A. | merge=colspan2 |
| B. | rowspan=2 |
| C. | colspan=2 |
| D. | merge=row2 |
| Answer» D. merge=row2 | |
| 289. |
Which attribute can be used with BODY tag to set background color green? |
| A. | background=”green” |
| B. | bgcolor=”green” |
| C. | vlink=”green” |
| D. | None of above |
| Answer» C. vlink=”green” | |
| 290. |
When should you use path along with file name of picture in IMG tag? |
| A. | path is optional and not necessary |
| B. | when the location of image file and html file are different |
| C. | when image file and html file both are on same location |
| D. | path is always necessary when inserting image |
| Answer» C. when image file and html file both are on same location | |
| 291. |
Which of the following is an attribute related to font tag? |
| A. | size |
| B. | face |
| C. | color |
| D. | All of above are style tags |
| Answer» E. | |
| 292. |
What tag is used to list individual items of an ordered list? |
| A. | LI |
| B. | OL |
| C. | UL |
| D. | None of above |
| Answer» B. OL | |
| 293. |
HTML supports |
| A. | ordered lists |
| B. | unordered lists |
| C. | both type of lists |
| D. | does not support those types |
| Answer» D. does not support those types | |
| 294. |
Marquee is a tag in HTML to |
| A. | mark the list of items to maintain inqueue |
| B. | Mark the text so that it is hidden in browser |
| C. | Display text with scrolling effect |
| D. | None of above |
| Answer» D. None of above | |
| 295. |
Which of the following is not a style tag? |
| A. | <b> |
| B. | <tt> |
| C. | <i> |
| D. | All of above are style tags |
| Answer» E. | |
| 296. |
To create a blank line in your web page |
| A. | press Enter two times |
| B. | press Shift + Enter |
| C. | insert <BR> tag |
| D. | insert <BLINE> |
| Answer» D. insert <BLINE> | |
| 297. |
There are ____ different of heading tags in HTML |
| A. | 4 |
| B. | 5 |
| C. | 6 |
| D. | 7 |
| Answer» D. 7 | |
| 298. |
In HTML document the tags |
| A. | Should be written in upper case |
| B. | should be written in lower case |
| C. | should be written in proper case |
| D. | can be written in both uppercase or lowercase |
| Answer» E. | |
| 299. |
The special formatting codes in HTML document used to present content are |
| A. | tags |
| B. | attributes |
| C. | values |
| D. | None of above |
| Answer» B. attributes | |
| 300. |
Some tags enclose the text. Those tags are known as |
| A. | Couple tags |
| B. | Single tags |
| C. | Double tags |
| D. | Pair tags |
| Answer» E. | |