Web Designing and Development
Sign in to use this feature.
Web Designing and Development - sample questions with answers
-
1. Which attribute is used within the <Marquee> tag to add a background color?
Show answer
Answer: bgcolor
The bgcolor attribute in the <Marquee> tag is used to change the background color of the scrolling area.
-
2. Which tag and attribute are used to create a hyperlink in HTML?
Show answer
Answer: <a> tag and href attribute
In HTML, the <a> tag and the href attribute are used to create hyperlinks to a destination address.
-
3. Which tag is used for a section heading in HTML?
Show answer
Answer: <H1>
The <H1> tag is used for a section heading in HTML.
-
4. What is the first tag used in an HTML document?
Show answer
Answer: <html>
The main structure of any HTML document begins with the <html> tag.
-
5. Which section of an HTML document contains tags and text that are not directly displayed on the web page?
Show answer
Answer: <head>
The <head> section contains metadata and other information that is not directly displayed on the web page.
-
6. Web browsers are the primary tools for accessing information via the internet. They process codes received from servers and present them in a format readable by the user. In this process, the browser specifically interprets HTML files. According to the description above, what is used to read and render HTML web pages?
Show answer
Answer: Web browsers
Web browsers are used to read and render HTML web pages.
-
7. In the structure of an HTML document, which tag typically follows the <HEAD> tag?
Show answer
Answer: <BODY>
In an HTML document, the <BODY> tag typically follows the <HEAD> tag.
-
8. Which tag is used to add data cells or columns inside a table in HTML?
Show answer
Answer: <td>
The <td> tag in HTML is used to define table data cells.
-
9. What is the main page of a website typically named?
Show answer
Answer: index.htm
Web servers typically look for the index.htm or index.html file as the home page of a website.
-
10. What do web clients use to view web pages?
Show answer
Answer: Web browser
Web clients use a web browser to view web pages.
-
11. Which of the following is NOT a web hosting company?
Show answer
Answer: Youtube
Youtube is a video-sharing platform, not a company that provides web hosting services.
-
12. Which tag is used first inside an HTML table?
Show answer
Answer: <caption>
The <caption> tag is the first tag placed inside a <table> tag.
-
13. Which type of URL is used to link other pages within the same website?
Show answer
Answer: Relative URL
Relative URL specifies the location of files within the same domain.
-
14. How many standard color names do web browsers use?
Show answer
Answer: 16
Browsers use 16 standard color names.
-
15. Google, used to find information on the internet, is what kind of service?
Show answer
Answer: Search Engine
Google is a well-known search engine that helps in finding web pages.
This chapter has 191 questions. Practise them all with timing, answers and explanations.