Describe when it’s appropriate to use the small element and provide an example?
Answer / chaitu
In HTML 4.01 the small element was a presentational element to mark up smaller text. In HTML5 it should be used semantically to represent legal disclaimers, caveats, and so on. The text may well be “small”, but this isn’t required.
An example of its use is shown below:
<img src="image.jpg" alt="London by night">
<small>The copyright of this image is owned by Aurelio De Rosa</small>
Is This Answer Correct ? | 0 Yes | 0 No |
What’s the difference between the meter element and the progress element?
How to create nest tables within tables in HTML?
What is the mark element? Can you describe an example of use for this element?
How do I link to a location in the middle of an HTML document?
Describe when it’s appropriate to use the small element and provide an example?
Is the alt attribute mandatory on img elements? If not, can you describe a scenario where it can be set to an empty value? Does an empty value affect accessibility in any way?
Consider the following markup: <figure> <picture> <source media="(min-width: 40em)" srcset="large.jpg 1024w, medium.jpg 640w, small.jpg 320y"> <img src="medium.jpg" alt="London by night"> </picture> <figcaption>A landscape of London by night</figcaption> </figure> Is it valid? If not, can you explain why?
How to create a button which acts like a link?
Can you describe why hgroup was dropped and how the markup can be addressed today with an example?
What is the longdesc attribute? Can you explain its purpose?
Which network design layer provides a connection point for end user devices to the network? access core distribution networkby a networking device
Explain marquee tag.