1.
Increasing the cellpadding value will what ?
Correct Answer
A. Increase the distance between cell and content
Explanation
Increasing the cellpadding value will increase the distance between the cell and its content. The cellpadding attribute in HTML is used to specify the space between the content of a cell and the border of the cell. By increasing this value, more space will be added, creating a larger distance between the cell and its content.
2.
Which of the following is NOT true of metatags use ?
Correct Answer
B. Use as many keywords as you can
Explanation
Using as many keywords as possible is not true of metatags use. While metatags are used to provide information about a webpage to search engines, including a large number of keywords can be seen as spammy and may result in penalties from search engines. It is important to use relevant and specific keywords that accurately describe the content of the webpage, rather than trying to include as many keywords as possible.
3.
To specify a font for your whole page add which tag?
Correct Answer
C. Basefont
Explanation
The correct answer is basefont. The basefont tag is used to specify a default font for the entire web page. It allows the web developer to set a font that will be used if no other font is specified within the HTML document. This tag is typically placed within the head section of the HTML document.
4.
What does the GENERATOR meta tag tell ?
Correct Answer
B. Which program was used to produce the page
Explanation
The GENERATOR meta tag tells which program was used to produce the page. This meta tag is included in the HTML code of a webpage and provides information about the software or tool that was used to create the page. It helps developers and users identify the technology stack or platform used for building the website.
5.
Which of the following is NOT a valid pair for browser-safe colors?
Correct Answer
A. AA
6.
To start a numbered list with regular numerals use?
Correct Answer
B. Ol type="1"
Explanation
To start a numbered list with regular numerals, the correct option is "ol type="1"". This option specifies that the list should be numbered using regular Arabic numerals (1, 2, 3, etc.). The other options, "ol type="a"" and "ol type="I"", would respectively start the list with lowercase letters (a, b, c, etc.) and uppercase Roman numerals (I, II, III, etc.).
7.
Defining clickable sub-areas on an image is called?
Correct Answer
B. Imagemapping
Explanation
The process of defining clickable sub-areas on an image is known as imagemapping. This technique allows specific regions of an image to be linked to different web pages or actions. By using imagemapping, users can interact with different parts of an image, such as clicking on specific objects or areas, which can then trigger various actions or navigate to different destinations.
8.
How can you open a link in a new browser window?
Correct Answer
B. A href="url" target="_blank"
Explanation
The correct answer is "a href="url" target="_blank"". This is because the "target="_blank"" attribute in the anchor tag opens the link in a new browser window.
9.
What does vlink mean?
Correct Answer
A. Visited link
Explanation
Vlink refers to a visited link. When a user clicks on a hyperlink and visits a webpage, the link changes color to indicate that it has been visited. This helps users keep track of the webpages they have already accessed. The term "vlink" is commonly used in web design and development to specify the style or behavior of visited links on a website.
10.
A 6 digit Hex color (#FF9966) defines values of Red, Blue and Green in which order?
Correct Answer
C. #RRGGBB
Explanation
The correct answer is #RRGGBB. In a 6 digit Hex color, the first two digits represent the intensity of red, the next two digits represent the intensity of green, and the last two digits represent the intensity of blue. Therefore, the order is red, green, blue.
11.
To make the appearance of the colors more powerful on your site do which of the following?
Correct Answer
B. Limit their use
Explanation
To make the appearance of the colors more powerful on your site, it is recommended to limit their use. This means using colors strategically and sparingly, rather than splashing them all over the site. By limiting the use of colors, you can create a more visually appealing and impactful design. This approach allows the colors to stand out and have a stronger effect on the overall aesthetics of the site, making them more powerful in capturing the attention of the viewers.
12.
Choose the correct HTML to left-align the content inside a table cell.
Correct Answer
C. Td align="left"
Explanation
The correct HTML to left-align the content inside a table cell is "td align="left"". This attribute aligns the content within the cell to the left side.
13.
How many characters can be written with 1 Kilobyte?
Correct Answer
A. 1024
Explanation
A kilobyte is a unit of digital information that is equal to 1024 bytes. Therefore, 1 kilobyte can hold 1024 characters.
14.
Colspan=n can be added to only what tag?
Correct Answer
B. Td
Explanation
The "colspan=n" attribute is used to specify the number of columns a table cell should span in a table. Since a table cell is represented by the "td" tag in HTML, the "colspan=n" attribute can only be added to the "td" tag. It cannot be added to the "table" or "tr" tags as they represent the table and table row respectively, not individual cells.
15.
Rather than using Hspace and Vspace you can use which of the following to add spacing to your image?
Correct Answer
B. 1x1 pixel transparent image
Explanation
Using a 1x1 pixel transparent image can be used to add spacing to an image. This method involves inserting a small transparent image with dimensions of 1x1 pixel, which creates a space around the image. This technique is commonly used to add margins or padding to images in HTML and CSS. By adjusting the dimensions of the transparent image, the spacing around the image can be customized according to the desired layout.
16.
Use what to prevent confusion on numbers higher than 9 with hexadecimal colors?
Correct Answer
A. #
Explanation
To prevent confusion on numbers higher than 9 with hexadecimal colors, the symbol "#" is used. In hexadecimal notation, numbers from 0 to 9 are represented by their respective digits, while numbers from 10 to 15 are represented by the letters A to F. The "#" symbol is then followed by a combination of digits and letters to represent a specific color.
17.
There are how many "browser-safe colors"?
Correct Answer
C. 256
Explanation
Browser-safe colors refer to a set of colors that are guaranteed to be displayed consistently across different web browsers and operating systems. In the early days of the internet, when computers had limited color capabilities, a palette of 216 colors was considered safe for web design. However, with advancements in technology, modern browsers and operating systems can display a wider range of colors. Therefore, the correct answer is 256, as it represents the total number of browser-safe colors available.
18.
Which is NOT a predefined target for links?
Correct Answer
A. _son
Explanation
The target "_son" is not a predefined target for links. The correct predefined targets for links are "_parent" and "_blank". "_son" is not a recognized target value and therefore is not a valid option for specifying the target of a link.
19.
Which of these is not valid HTML?
Correct Answer
B. Fontface="verdana"
Explanation
The correct answer is "fontface='verdana'". This is not a valid HTML syntax because the attribute name "fontface" should be separated from its value "verdana" by an equal sign (=) and enclosed in double quotation marks. The correct syntax for specifying the font face in HTML is "font face='verdana'".
20.
If you do not include a DESCRIPTION meta tag, the most search engines will simply list what?
Correct Answer
C. The first few words on the page
Explanation
If you do not include a DESCRIPTION meta tag, most search engines will simply list the first few words on the page. This is because search engines use the meta description tag to understand the content of a webpage and display relevant information in search results. Without a meta description, search engines will default to displaying the first few words on the page as a snippet in the search results.