1.
Re-write the highlighted section so that the destination of the link goes to "www.wwf.org.uk".
2.
The image provided does not exist. Re-write the highlighted section to include the alternate text "w3schools.com" for the image.
3.
Re-Write the highlighted text with the appropriate tags: "Universal Studios Presents" is the most important content. "Jurassic Park" is the next most important content. "About" is of lesser importance than Jurassic Park. The last sentence is just a paragraph.
4.
Looking at the HTML document, what is the background color of the website?
5.
Looking at the HTML document, what is the color of the h3 element when the website is being viewed?
6.
Change the size of the image to 250 pixels wide and 400 pixels tall.
Correct Answer
A. <img src="w3schools.jpg" width="250" height="400">
Explanation
The correct answer is "" because it specifies the exact dimensions (width and height) that the image should be displayed as.
7.
Transform the text below into a link that goes to "www.w3schools.com".
Correct Answer
A. <a href="http://www.w3schools.com">This is a link</a>
Explanation
The correct answer is This is a link. This is the correct way to create a link in HTML using the anchor tag and the href attribute to specify the URL. The given code has the correct syntax and the URL is set to "http://www.w3schools.com".
8.
To add a heading to a paragraph you would use the <h1 to h6> ... </h1 to /h6> tags.
Correct Answer
A. True
Explanation
To add a heading to a paragraph, you would use the ... tags. This is true because HTML provides heading tags from h1 to h6 to structure the content and indicate the importance of different headings. These tags are used to define headings and create a hierarchical structure within the document.
9.
Is this the proper way to declare "Hello World!" as a paragraph?
Correct Answer
B. False
Explanation
The given answer is false because declaring "Hello World!" as a paragraph would not be considered as the proper way. In most programming languages, a paragraph is typically represented by a block of text or multiple lines of code. To declare "Hello World!" as a paragraph, it would require additional formatting or encapsulation within paragraph tags or a similar structure.
10.
Clean up this document with proper end tags.
Correct Answer
A. Option 1
Explanation
The given correct answer is Option 1 because it states the solution to the problem mentioned in the question. The question asks to clean up the document with proper end tags, and Option 1 suggests the correct action to be taken. Options 2, 3, and 4 do not address the issue of missing end tags, so they are not the correct answers.
11.
Look at the HTML script to answer the question. How many elements within the internal style sheet are being styled?
Correct Answer
B. Two
Explanation
The correct answer is two because there are two elements within the internal style sheet that are being styled.
12.
Look at the HTML script to answer the question. How many properties within the internal style sheet are being used?
Correct Answer
C. Three
Explanation
The given HTML script contains an internal style sheet, which means that the CSS properties are defined within the tags in the section of the HTML document. By examining the script, it can be determined that there are three properties being used within the internal style sheet.
13.
Look at the HTML script to answer the question. Which element is being styled within the inline style?
Correct Answer
C. H3
Explanation
The correct answer is h3. This is because the question asks which element is being styled within the inline style, and the h3 element is the only one mentioned in the options.
14.
When creating a website that has multiple pages, which type of style sheet is preferred?
Correct Answer
A. External style sheet
Explanation
When creating a website with multiple pages, an external style sheet is preferred. This type of style sheet allows for the separation of the presentation of the website from its content. By linking the external style sheet to each page, any changes made to the style sheet will automatically be applied to all pages, ensuring consistent styling throughout the website. Additionally, using an external style sheet promotes code reusability and makes it easier to maintain and update the website in the future.
15.
If you want to style one single HTML page, which type of style sheet is preferred?
Correct Answer
B. Internal style sheet
Explanation
An internal style sheet is preferred when styling a single HTML page. This is because an internal style sheet is defined within the HTML document itself, using the `` tag in the head section. It allows for the separation of the style from the content, making it easier to maintain and apply consistent styling across the entire page. Additionally, an internal style sheet takes precedence over an external style sheet, so any conflicting styles can be easily overridden.
16.
If you want to style a single element, which type of styling is preferred?
Correct Answer
C. Inline style
Explanation
Inline style is preferred when you want to style a single element. This is because inline styles are applied directly to the specific element using the "style" attribute in the HTML tag. It allows you to define the style for that particular element without affecting other elements on the page. Inline styles are useful when you need to make quick, specific changes to a single element without the need for creating or modifying external or internal style sheets.
17.
What does HTML stand for?
Correct Answer
A. Hyper Text Markup Language
Explanation
HTML stands for Hyper Text Markup Language. It is the standard markup language used for creating web pages and applications. HTML allows the structuring of content on a webpage by using tags and attributes to define elements such as headings, paragraphs, links, images, and more. It is the foundation of the World Wide Web and is essential for creating and displaying web content.
18.
Choose the correct HTML element for the largest heading:
Correct Answer
D. <h1>
Explanation
The correct HTML element for the largest heading is . Headings in HTML are used to define the structure and hierarchy of a webpage. The element represents the highest level heading, typically used for the main heading or title of the page. It is the largest and most important heading on a webpage.
19.
What is the correct HTML element for inserting a line break?
Correct Answer
B. <br>
Explanation
The correct HTML element for inserting a line break is . This element is a self-closing tag and does not require a closing tag. When used, it creates a line break or a new line within a paragraph or block of text.