4.4. Quiz TwoΒΆ
- <h1>
- Yes
- <p>
- Yes
- <img>
- No, an img tag is an inline element
- <li>
- Yes
- File Transfer Protocol
- No, FTP is not related to this class.
- HyperText Markup Language
- No, HTML is the markup language not the protocol
- Secure Sockets Layer
- No, SSL is not used
- HyperText Transfer Protocol
- Yes
- <h1 class="low">Hello World</h1>
- This h1 has low class
- <p class="high">some text</p>
- Yes
- <p>some text</p>
- No, the paragraph tag is just a plain paragraph with no class
- <li class="high">do my homework</li>
- Yes
- <p id="high">some text</p>
- No the selector is matching the class not the id.
- <h1 class="low">Hello World</h1>
- This h1 has low class
- <p class="high">some text</p>
- Yes
- <p>some text</p>
- No, the paragraph tag is just a plain paragraph with no class
- <li class="high">do my homework</li>
- No, this is an li tag
- <p id="high">some text</p>
- No, this selector is looking for a paragraph with a class of high
- <h1 class="low">Hello World</h1>
- No this is an h1 tag
- <p class="high">some text</p>
- Yes
- <p>some text</p>
- Yes
- <li class="high">do my homework</li>
- No, this is an li tag
- <p id="high">some text</p>
- Yes
- <h1 class="low">Hello World</h1>
- No this is an h1 tag
- <p class="high">some text</p>
- No, this selector is matching the id attribute
- <p>some text</p>
- No, this selector is looking for an id
- <li class="high">do my homework</li>
- No, this selector is matching on the id not the class
- <p id="high">some text</p>
- Yes
- height
- No height is an attribute of the content
- padding
- Yes
- border
- Yes
- margin
- Yes
- background-color
- No, background-color is not part of the box model
Q-1: Which of the following are HTML block elements. Select all that apply.
Q-2: What is the protocol used in the URL: http://interactivepython.org/index.html
In the following question, select all of the correct answers for each question.
Q-3: Which of the following will match the CSS selector .high
Q-4: Which of the following will match the CSS selector p.high
Q-5: Which of the following will match the CSS selector p
Q-6: Which of the following will match the CSS selector #high
Q-7: Which of the following are properties of the CSS Box Model
When you have finished the above question, click on the Show button below to reveal two additional exercises.
For the following questions, I will use your final result. You can press the Run button as many times as you like without penalty. You should also Save your final version.
Fill in the additional HTML needed to make an ordered list of 3 items. The items should be numbered A, B, and C.
Given the HTML in the activecode below, add the appropriate CSS to style the h1 with a 28pt font, and rgb color consisting of red: 128, blue: 200, green: 99 and the last paragraph with a color of orange.