HTML/CSS multiple choics questions, please help; Actually I can goggle some answ
ID: 3591460 • Letter: H
Question
HTML/CSS multiple choics questions, please help;
Actually I can goggle some answers but I am confuse about these descriprions so I need someone to help me figure it out, Thank you!
1:To create a list of items with bullet points, which list tag do you use?
a. <list type=bullet>
b. <ul>
c. <ol>
2:
3:Which of the following HTML commands shows the correct syntax for displaying an image from the file "MyImage.gif"?
a. <image src="MyImage.gif" alt="MyImage">
b. <img href="MyImage.gif" alt="MyImage">
c. <img src="MyImage.gif" alt="MyImage">
d. <img alt="MyImage" myimage.gif>
4:Which of the following statements correctly describes the order in which style cascades?
a. Style from the inline <style> attributes overrides style from the <head> section. Style from the <head> section overrides style from an external style sheet.
b. Style from the external style sheet overrides style from the <head> section. Style from the <head> section overrides style from inline <style> attributes.
5:
People often display images on their web pages which are of two different types of files: .jpg and .gif. Which of the following statements comparing .gif files to .jpg files is NOT true.
a. gif files support animation while jpg files do not.
b. gif files are for illustrations, while jpg files are for photographs.
c. gif files are restricted to only 256 colors while jpg files can display millions of colors.
d. jpg files compress nicely while gif files lose quality when compressed
Consider the following HTML code that applies style to the text in a paragraph. In this example, what color will the text in the paragraph be? Khead> body background-color: grey: p f color: black; margin-left: 40px; K/style>Explanation / Answer
1) List we can create in two types ordered and unordered
Below are the syntax for the two types:
a)
<h2>An Unordered HTML List</h2>
<ul>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>
b)
<h2>An Ordered HTML List</h2>
<ol>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>
2) output : c
Blue color will be the output.
3)
<img src="MyImage.gif" alt="MyImage">
5)
d. jpg files compress nicely while gif files lose quality when compressed
4)
b. Style from the external style sheet overrides style from the <head> section. Style from the <head> section overrides style from inline <style> attributes.
Thands & Regards,
Feel free to reach if any doubts.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.