• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 1 out of 4 pages
Exam (elaborations)

HTML review(updated)correct answers 2023

Document preview thumbnail
Preview 1 out of 4 pages

HTML review(updated)correct answers 2023Why is web or browser programming broken up into three parts? to be resilient to changes in technology Which is the most powerful and fragile of the browser programming languages? Javascript What happens when HTML is broken because of a bug in the code? The browser guesses what you meant, and does its best to fix the bug itself. Which two elements are used to mark-up subscript and superscript text? sub and sup to show date and time time datetime=""October 8, 2025/time Which tag preserves the spaces, tabs, and line breaks within a piece of text so a poem or piece of code can be presented faithfully? pre Which elements are used to mark-up code on screen? pre and code Which type of element is typically a block? p What's a true statement about the difference between the blockquote element and the q element? blockquote is a block-level element, while the q element is inline, nested inside another block-level element. In the tag below, what do we call "datetime"? time datetime="" March, 7, 2024/time an attribute Which is a true statement about HTML lists? Lists can be used to mark up navigation. When we want to convey importance, seriousness, or urgency, which element do we use? strong Which elements are used to convey meaning, instead of just typesetting convention? em and strong Which of these attributes is NOT a global attribute? datetime When should we use an ARIA attribute? any time the existing markup makes things confusing in the accessibility tree What sort of efforts require the use and understanding of ARIA attributes? those involving accessibility issues Which syntax can we use to add comments to our HTML? !-- comment -- Which code would you use to guarantee that the words "Hocus Pocus" are not split by a line break after "Hocus"? Hocus Pocus what is   any time you want characters to appear as simple text instead of being parsed as code How does the id attribute differ from the class attribute? An id attribute name may only be used once in a document. Which HTML elements are commonly used in marking up navigation? nav, ul, li, a When might we use a relative URL instead of an absolute URL? when a website might be moved from a staging server to a production server If you want to create a compact image that can display in large sizes without pixelation, which should you choose? SVG If you want to keep a caption with an image, which combination of elements lets you identify them as connected? Surround the image with a figure element, and use the figcaption element inside of figure. What is the most effective way to use bandwidth efficiently when sending images? Create a set of options the browser can choose from using the srcset attribute. What do you need to change to move from a resolution-based srcset to a width-based srcset? Provide pixel measurements (w) instead of 1x, 2x, etc. What are the four attributes we want to include on every img element? src, alt, height, width Why should you spend effort optimizing image sources and corresponding display attributes? to have the best compromise between image quality and download speed Why should you include the height and width specifications for all images? to make the page layout more efficient Which format is best suited to handle complex drawings and logos? SVG Why would you want to use the w specification in srcset instead of the x specification? to consider both display density and window width when choosing the image source How do you create a video element that specifies different resolutions of video that browsers can choose from when loading the video? You can't do this. Instead, the browser adapts to circumstances as needed. What should you do to create an audio player with controls? Use the audio element with the controls attribute set to yes. How can you mark a quotation as being in a different language from its surrounding text? Create a blockquote element with a lang attribute indicating the language for its contents. What is the difference between the usage of div and span? div is used for blocks, and span is used for a part of a line. Why do you need to specify the desired language for HTML content? so correct dictionaries and pronunciations are used


Document information

Uploaded on
February 5, 2023
Number of pages
4
Written in
2022/2023
Type
Exam (elaborations)
Contains
Questions & answers
$11.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
StuviaExamHub
3.7
(91)
Sold
497
Followers
356
Items
26308
Last sold
4 days ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions

Whoops! We can’t load your doc right now. Try again or contact support.