Here, We see HTML LinkedIn Skill Assessment Answer. This assessment test consists 15-20 MCQs to demonstrate your knowledge in your selected skills. MCQs comes from different topics – Beyond HTML; HTML Fundamentals; Images, Sound, and Video; Tables and Mathematics; Web for All.
HTML LinkedIn Skill Assessment :-
Q1. What is the purpose of the
tag, and when should it be used?
- The
tag is used for specifying subtitles. It is typically applied as a child of the
and
tags.
- The
tag is used for specifying subtitles. It is typically applied as a child of the
tag.
- The
tag is used for specifying subtitles, captions, and other types of time-based text. It is typically applied as a child of the
tag.
- The
tag is used for specifying subtitles, captions, and other types of time-based text. It is typically applied as a child of the
and
tag.✔️
Q2. What are the best examples of void elements?
✔️
Q3. In HTML5, which tag or tags embed a webpage inside of a webpage?
✔️
and
Q4. Where do
and
tags typically occur?
- as children of
,
tags
, - as children of
,
tags✔️
, and - as children of
,
tags
, - as children of
,
, , and
tags Q5. What is the best way to apply bold styling to text?
✔️
- Use CSS.
Q6. When is the
tag used?
- when linking style sheets, JavaScript, and icons for mobile apps
- when linking style sheets, favicons, and preloading assets✔️
- when linking one webpage to another
- when linking style sheets, external URLs, and favicons
Q7. The “value” attribute is associated with which set of tags?
Q8. What should fill the two blanks in the HTML code below?
6410 Via Real
Carpinteria, CA 93013itemscope
itemtype="http://schema.org/PostalAddress"
✔️itemsref="http://schema.org/PostalAddress"
itemid="address"
itemscope
itemref="http://schema.org/PostalAddress"
itemid="address"
itemtype="http://schema.org/PostalAddress"
Q9. When should you use the
- when the content can be removed without detracting from the page’s message✔️
- for anything you want to move to the side, like a pull quote box, a sidebar, or an image with text wrapping around it
- for anything in parentheses
- for anything in a sidebar
Q10. With which tags is the
element associated?
✔️, - It is interchangeable with the
src
attribute, so any element which usessrc
may use
Q11. What is NOT a valid attribute for the
element?
- readonly
- max✔️
- form
- spellcheck
Q12. What is the best way to code the sample shown?
- A
Parmesan Deviled Eggs
These delectable little bites are made with organic eggs, fresh Parmesan, and chopped pine nuts.
- B
▸ Parmesan Deviled Eggs
These delectable little bites are made with organic eggs, fresh Parmesan, and chopped pine nuts.
- C✔️
Parmesan Deviled Eggs
These delectable little bites are made with organic eggs, fresh Parmesan, and chopped pine nuts.
- D
▸ Parmesan Deviled Eggs
These delectable little bites are made with organic eggs, fresh Parmesan, and chopped pine nuts.
Q13. What is the purpose of the
element?
- It connects the web browser to a SA-MP server.
- It identifies enclosed text as a sampler or an example.
- It identifies sample output from a computer program.✔️
- It uses a simple application messaging protocol to connect the browser to a texting device.
Q14. When should you use
- Use
- Use
- Use
- Use
Q15. What is the difference between the post and get methods in a form?
- post is used for sending information to the server. get is used for retrieving form information from the server.
- get is used for sending information to the server. post is used for retrieving form information from the server.
- With get, data is included in the form body when send to the server. With post, the data goes through the URL.
- With post, data is included in the form body when send to the server. With get, the data goes through the URL.✔️
Q16. What is the difference between the
andtags?
- is used where a generic block-level tag is needed, while
is used where a generic inline tag is needed.✔️
is used for major divisions on a page, whileis used to span across columns.
is the industry-standard default tag, but you could useif you prefer.
is used where a generic inline tag is needed, whileis used where a generic block-level tag is needed.
Q17. What should fill the blank in the HTML code bellow?
- enctype✔️
- media
- type
- rel
Q18. What is the correct markup for
alt
attribute of an image?- A
- B
- C✔️
- D
Q19. In the code below, what is the purpose of the id attribute?
Be careful when installing this product.
- It establishes that id is a unique identifier in the document, used for styling CSS, scripting, and linking within a webpage.✔️
- It establishes that id is a unique identifier in the document, used for styling CSS and with Javascript code.
- It establishes that id may be used for styling CSS several times per page.
- It establishes that id is a unique identifier in the website, used for styling CSS, scripting, and linking within a webpage.
Q20. What is the best semantic markup for the sentence shown?
On July 21, 1969, Neil Armstrong said, "One small step for man, one giant leap for mankind."
- A✔️
On , Neil Armstrong said,
One small step for man, one giant leap for mankind.
- B
On July 21, 1969, Neil Armstrong said,
One small step for man, one giant leap for mankind.
- C
On July 21, 1969, Neil Armstrong said,
One small step for man, one giant leap for mankind.
- D
On , Neil Armstrong said,
One small step for man, one giant leap for mankind.
Q21. What should fill the blank in this HTML code?
Visita Yahoo
- es
- es-spanish
- es-es✔️
- spanish
Q22. Review the text in the red box in the image shown. What is the best way to code this in HTML?
- ordered list
- unordered list inside a nav element✔️
- ordered list inside a nav element
- unordered list
Q23. What is the best way to code three choices within a form so that the user can select only one item?
- A
- B
Make a choice:
- C
- D✔️
Q24. How do you confirm that a document is written in HTML5?
- The server wraps the webpage in an HTML5 wrapper.
- Use the
declaration that starts the document.✔️
- The browser receives encoding from the server to display the document with HTML5.
- It is enclosed in a
tag.
Q25. What does the code shown below accomplish?
- It displays image1.jpg at 1000px and higher, image2.jpg at 750-999px, and image3.jpg at 749px and lower.
- It displays image1.jps at 1000px and higher and image2.jpg at 750-999px, image3.jpg is a default in case
is not supported. - It displays image1.jpg at 1000px and higher and image2.jpg at 750px and higher, image3.jpg is a default in case
is not supported.✔️ - It displays image1.jpg, image2.jpg and image3.jpg at 1000px and higher.
Q26. What code will produce this table?
- A
Col 1 Col 2 Col 3 first second third - B✔️
Col 1 Col 2 Col 3 first second third - C
Col 1 Col 2 Col 3 first second third - D
Col 1 Col 2 Col 3 first second third Q27. What is the
- This tag is depreciated and should not be used.
- It designates a topic shift within a section at the paragraph level.✔️
- It draws a horizontal line.
- It designates a shift of topic at the section level.
Q28. What should fill the two blanks in the HTML code below?
Nadia's Garden
4.5 stars - based on 120 reviews
itemprop="aggregateRating" itemref="http://schema.org/AggregateRating"
itemprop="aggregateRating" itemtype="http://schema.org/AggregateRating"
✔️itemid="aggregateRating" itemtype="http://schema.org/AggregateRating"
itemid="aggregateRating" itemref="http://schema.org/AggregateRating"
Q29. Which HTML snippet links back to the very top of a webpage?
- A✔️
back to top
- B
back to top
- C
back to top back to top
- D
Q30. Which three tags where deprecated in HTML4 but returned to HTML5?
✔️
Q31. The _ tag is used for marking up a short code snippet, while the _ tag is used for marking up a longer block of code
,,
,,
✔️
Q32. What does the
tag do?
- It labels webpages with important information.
- It visually associates a text label with an interface element.
- It visually labels from fields.
- It programmatically associates a text label with an interface element.✔️
Q33. To get a link to open in a new window or tab, use the _ attribute
_blank
✔️_self
_new
_parent
Q34. What is the most semantically accurate way to mark up the sentence shown below? Note: "TLAs" stands for "three-letter acronyms."
We are fond of our TLAs in web design.
- A
We are fond of our TLAs in web design.
- B
We are fond of our TLAs in web design.
- C✔️
we are fond of our TLAs in web design.
- D
we are fond of our TLAs in web design.
has been removed in HTML5 and shouldn’t be used anymore. Instead web developers should use the
element.
Q35. What is the correctly nested markup for this list?
- A
-
office
- staple
- paper
-
groceries
- milk
- B✔️
- Office Supplies
- Stapler
- Paper clips
- Groceries
- Milk
- C
- office
- staple
- paper
- groceries
- milk
Q37. What should fill the blank below?
- title
- type
- device
- media✔️
Q38. What is semantically correct way to mark up this layout?
- A
"Making money is what you have to do to sustain a business—being driven to make something of value and purpose is much more powerful."
Lynda Weinman
- B
"Making money is what you have to do to sustain a business—being driven to make something of value and purpose is much more powerful."
Lynda Weinman- C✔️
"Making money is what you have to do to sustain a business—being driven to make something of value and purpose is much more powerful."
Lynda Weinman- D
"Making money is what you have to do to sustain a business—being driven to make something of value and purpose is much more powerful."
Lynda WeinmanQ39. Which choice uses the correct terminology in describing this markup:
info
- The element opener is
- The start tag is
- The start tag is
- The start element is
Q40. What is the difference between
and
?
- There is no difference. Both will render a button that submits a form.
- Both will submit a form. However, the
can have content other than text, like an image or nested HTML elements, while the
cannot.✔️
has been deprecated in HTML5. You should use the
tag instead.
- Both will submit a form. However, the
can have content other than text, like an image or nested HTML elements, while the
cannot.
Q41. What is the best semantic way to indicate that text refers to keyboard entry?
Press the Enter key to proceed.
Press the Enter key to proceed.
Press the Enter key to proceed.
Press the Enter key to proceed.
Q42. What does this code do?
- The browser chooses the first supported format to play with the browser’s default controls.✔️
- The browser chooses the best audio format to play with JavaScript-provided controls.
- The browser plays each sound file in order automatically. The user has controls to stop playback.
- The browser chooses the first supported sound file and will loop the sound until the user stops it.
Q43. What attribute applies a keyboard shortcut hint to the current element?
accesskey
✔️shortcut
keyboard
access
Q44. What is the correct way to code a link that, when clicked, will send an email to
email@example.com
with a subject of "Hello"?Q45. Which tag is the root element of an HTML document?
✔️
Q46. Which code snippet creates the layout shown, starting at
and ending at
- A
Table cell 1 Table cell 2 Table cell 3 - B
Table cell 1 Table cell 2 Table cell 3 - C✔️
Table cell 1 Table cell 2 Table cell 3 - D
Table cell 1 Table cell 2 Table cell 3 Q47. Which choice is NOT a legal value for the name attribute within a
tag?
- charset✔️
- viewport
- generator
- author
Q48. Which form is coded correctly?
- A
- B
- C✔️
- D
Q49. What does the poster attribute do in the
tag?
- It specifies an image that should display while the video downloads and until the video is played.✔️
- It specifies an image that only displays if there is a problem with the video.
- It specifies an image that should display until the video is played.
- It specifies an image that should display while the video downloads.
Q50. What does this code do?
- The text displays over the audio controls, unless CSS is used to position it elsewhere.
- The text displays under the audio controls.
- The text displays when the browser cannot play the sound.✔️
- The text never displays.
Q51. What is the primary purpose of the
tag?
- It allows raster images to be rendered on the webpage.
- It displays annotated images.
- It allows drawing on a bitmap via JavaScript.✔️
- It allows vector images to be rendered on the webpage.
Q52. Which choice contains three valid block-level elements?
✔️
Q53. In the code below, what is the purpose of the lang attribute?
Welcome to our wonderful website.
- It establishes the language for the website—in this case, English.
- It establishes the language and dialect for the website—in this case, British English.
- It establishes the language and dialect for the paragraph—in this case, British English.✔️
- It establishes the language for the paragraph—in this case, English.
Q54. Which image formats can be displayed by all web browsers?
- JPG, GIF, TIF
- JPG, TIF, BMP
- TIF, BMP, GIF
- PNG, GIF, JPG✔️
Q55. Review the code below. What is the absolute URL for a page called page.html?
http://www.linkedin.com/dir/page.html
✔️page.html
http://www.linkedin.com/page.html
dir/page.html
Q56. What is the correct way to include a stylesheet named style.css in the
of your document?
✔️
Q57. You want to have single spacing in between some lines, like in a poem or an address. Which approach should you use?
- Wrap the text in a box that is the right width so everything wraps correctly. Set the box width with CSS.
- Separate lines with a
- Use the
- Separate the lines with the
tag.
Q58.What does the
tag do?- It requires the browser to wrap the current line at that point.
- It breaks a word into two pieces, using a hyphen to connect the words.
- It formats a sentence to be easily breakable.
- It presents an opportunity for a break in a very long word, if needed for proper page display.✔️
Q59. Review the code below. How do you include subnavigation for Link 2 that includes a link?
- Link 1
- Link 2
- Link 2a
- Link 3
- A
- B✔️
- C
- D
Q60. What is the correct way to code a comment in HTML?
//this is a comment
/* this is a comment */
✔️
Q61. Which statement is false?
- Inline elements can be nested inside inline elements.
- Block elements can be nested inside block elements.
- Inline elements can be nested inside block elements.
- Block elements can be nested inside inline elements.✔️
Q62. What is the best semantic to use Quotes in HTML?
Steve Kruz Said: "He will Win"
✔️
Q63. What is the semantic meaning of the
- It draws a horizontal line.
- This tag is deprecated and should not be used.
- It designates a separation of sections within an
.
- It designates a topic shift within a section at the paragraph level.✔️
Q64. How will a video look displayed on a fully loaded webpage if the
tag is used and the autoplay attribute is not set?
- It will display a random frame from a video, unless the poster attribute is set.
- It will display the first frame of the video, unless the poster attribute is set.✔️
- It will display nothing unless the poster attribute is set.
- It will display a black window unless the poster attribute is set.
Q65. What is the correct way to describe an empty element?
- It has opening and closing tags but no child content.
- It display nothing on a website.
- It has no child content and no closing tag.✔️
- It has child content but no closing tag.
Q66. What is the purpose of async in this code?
- It downloads the script from the server when resources allow.
- It runs the script after HTML parsing is complete.
- It runs the script when the script is ready.✔️
- It pauses the parsing of HTML code while the script runs.
Q67. What does this code?
- When the play button is pressed, the browser plays the sounds over and over again until the user stops it.
- The browser plays the sound once automatically in the background. The user has no control over the sound.
- The browser plays the sound automatically and continuously in the background. The user may stop the sound at any tune.
- The browser plays the sound automatically and continuously in the background. The user has no control over the sound.✔️
Q68. What is the difference between the
and
- There is only one
tag per page, while there may be many
tags.
- The
tag may contain CSS and Javascript links, while the
tag may contain headings and navigational links.
- all of these answers✔️
- The
tag contains meta information, while the
tag contains navigation, logos, and other page identifying content.
Q69. In this code, what is the purpose of defer?
- It downloads the script from the server when resources allow.
- It runs the script after HTML parsing is complete.✔️
- It runs the script when the script is ready.
- It pauses the parsing of HTML code while the script runs.
Q70. The code below contains some errors. Which choice corrects all of the errors?
Cell 1 Cell 2 A table - A
A table Cell 1 Cell 2 - B
A table Cell 1 Cell 2 - C✔️
A table Cell 1 Cell 2 - D
Cell 1 Cell 2 A table
Q71. Given the file and directory structure shown here, what is the correct element to place in file profit.html to link to info.html?
Q72. When should you use the
- For blog posts and other social media items
- For the main content area of your website
- When the content stands alone as a unit, is suitable for syndication, or is reusable✔️
- To associate comments with a blog post
Q73. Which list comprises three empty elements?
- A
- B
- C
- D✔️
Q74. Which snippet of HTML, when clicked, makes a phone call on a mobile device?
Q75. What is the purpose of the
class
attribute?- Classes allow CSS to select specific elements on the page. You may list as many class names within the class attribute as you wish, separated by spaces.
- Classes allow CSS and JavaScript to select specific elements on the page. You may list only one class name per class attribute.
- Classes allow CSS to select specific elements on the page. You may list only one class name per class attribute.
- Classes allow CSS and JavaScript to select specific elements on the page. You may list as many class names within the class attribute as you wish, separated by spaces.✔️
Q76. Which choice is not a legal type attribute for the
tag?
✔️
Q77. What is the most semantic way to mark up this sentence so that "happy talk must die" is rendered as an inline quote?
As Steve Krug once said, happy talk must die.
happy talk must die.
happy talk must die.
happy talk must die.
Q78. What is the most semantically accurate way to make up a main navigation bar, displayed in a horizontal direction?
- A
Home About Contact - B
- C✔️
Q79. Which choice is the best way to mark up this layout?
- A
Mailing Address
6410 Via Real
Carpinteria, CA 93013
info@linkedin.com- B✔️
Mailing Address
6410 Via Real
Carpinteria, CA 93013
info@linkedin.com- C
Mailing Address
6410 Via Real
Carpinteria, CA 93013
info@linkedin.com- D
Mailing Address
6410 Via Real
Carpinteria, CA 93013
info@linkedin.comQ80. What is the primary purpose of HTML?
- HTML structures the webpage, identifying its elements such as paragraphs, headings, and lists.✔️
- HTML structures and provides a rudimentary look to webpages.
- HTML is responsible for the structure, styling, and interactivity of webpages.
- HTML is responsible for the structure and styling of webpages.
Q81. What is the correct way to describe an empty element, such as a line break tag?
- It displays nothing on a website.
- It has opening and closing tags but no child content.
- It has child content but no closing tag.
- It has no child content and no closing tag.✔️
Q82. For the HTML code below, when will "Sample Text" display to the browser?
- when there is no JavaScript used on this webpage
- when JavaScript is not supported by the browser or if JavaScript is disabled in the browser✔️
- when JavaScript is disabled in the web browser
- when JavaScript is not supported by the web browser
Q84. In this code, what is target?
- an attribute✔️
- a tag
- content
- an element
Q85. What is the difference between the
and
?
produces vector graphics, while
produces raster graphics.✔️
integrates with JavaScript, while
does not.
produces raster graphics, while
produces vector graphics.
cannot be used as a background image, while
can be used as a background
Q86. What is the difference between the readonly and disabled attributes for the
element?
- readonly allows clicking in the
element. disabled prevents all interaction with the control.
- readonly is invalid attribute for
, while disabled is a valid attribute.
- disabled allows clicking in the
element. readonly prevents all interaction with the control.
- disabled is invalid attribute for
, while readonly is a valid attribute.
Q87. In this code, what is target?
- an attribute✔️
- a tag
- content
- an element
Q88. What is the correct way to add a submit URL to a button element?
- A
- B
- C✔️
- D
Q89. Which is the best markup to produce this text?
x
w x
w x
w x<
>w x
w
Q90. What is wrong with this code snippet?
- The
and
should be nested inside of a
element.
- "address" is not a valid value for the attribute name on an
element.
- The
element is missing an id set to "address-input".
- The
element is missing a for attribute set to "address-input".✔️
Want more Quiz Answer :- (click below link)
Link for more programming Language Quiz Answer
Related
Post navigation