Home/Web Design and Development Exam Web Design and Development Exam Load QuestionsSave Exam 0 Welcome to your HTML Web Design and Development Exam Full Name Email 1. What is the role of the tag in this HTML document? To store header content To link external scripts To provide footer information To display the webpage's main content 2. Which of the following is an example of a country-code TLD? .com .uk .net .org 3. What is JavaScript primarily used for in a website? To add interactivity and dynamic elements to the web page To store web pages on the server To control the visual appearance of the web page To define the structure of the web page 4. What does the tag do? Sets the document's title Links to a stylesheet Controls the display of the page on different devices Specifies the character encoding 5. What does the CSS class selector do? Applies styles to all elements with a specific attribute Selects the first element in the document Selects all elements of a specific class Selects elements by their tag name 6. What is web hosting? A technique to improve website SEO A software used to design websites A method to write HTML code A service that stores and serves websites on the internet 7. Which CSS property is used to change the text color of an element? background-color txt-color color border-color 8. What happens if an HTML element is missing its closing tag? The entire webpage will become bold The page will not load Nothing happens; closing tags are optional The browser may display content incorrectly 9. What does the onclick attribute do in the tags? Changes the button text Triggers a JavaScript function Adds a style to the button Links to another page 10. Which of the following is NOT a type of web hosting? VPS hosting Domain hosting Dedicated hosting Shared hosting 11. What is a Top-Level Domain (TLD)? A programming language for developing websites The highest level in the hierarchical domain name system A specific server where a domain is hosted The main part of a domain name that identifies the website's owner 12. Which CSS selector selects all elements of a given type, regardless of their class or ID? Element Selector Universal Selector Attribute Selector Pseudo-class Selector 13. What is a domain name? A type of web hosting service A programming language used to create websites A unique address that identifies a website on the internet A server where websites are hosted 14. What is a website? A single web page displayed in a browser A digital document stored offline A printed version of an online article A collection of interconnected web pages hosted on the internet 15. What is the primary benefit of dedicated hosting? No need for server management Limited bandwidth and storage options Full control and exclusive access to all server resources The server is shared by multiple websites 16. Which of the following is not a Web Hosting Company or Providers in Nigeria DomainKing TrueHost WhoGoHost GoDaddy 17. What is the purpose of the declaration? It closes the HTML document It defines character encoding It specifies the HTML version It links to external files 18. Which CSS selector is used to apply styles to a specific HTML element with a unique ID? ID Selector Universal Selector Element Selector Class Selector 19. Which of the following attributes is used to specify the source of an image in the tag? alt class href src sauce 20. Which type of web hosting allows multiple websites to share the same server resources? Dedicated hosting VPS hosting Cloud hosting Shared hosting 21. What does the tag do in this HTML document? Adds an image to the webpage Embeds a video Creates a clickable button Adds a link to another page 22. Which of the following is NOT a component of a domain name? Second-Level Domain (SLD) Top-Level Domain (TLD) URL Protocol Subdomain 23. Which of the following is NOT a feature commonly offered by web hosting providers? Email hosting Server uptime guarantees Free website design services Bandwidth and storage allocation 24. What is the primary function of a tag in HTML? To create an inline element To insert an image To display text in bold To group block-level content 25. What role does a server play in a website? It displays web pages to users It tracks user activity on the internet It designs web pages for users It stores and delivers web pages to users 26. What does HTML stand for? Hyper Text Main Language Hosting Transfer Markup Language Hypertext Markup Language Hyper Transfer Markup Language 27. What is the first step when a user wants to access a website? The user enters the website's URL in a browser The server sends a web page The website sends data to the server The browser displays the website's content The user drink garri first Your quiz is running out of time! few seconds are remaining. Time is Up! Disclosure: Some of the link in some of our posts are affiliate links. This means if you click on the link and purchase the item, we may receive an affiliate commission. more info coming soon. Share Facebook X LinkedIn Tumblr Pinterest Reddit Messenger Messenger WhatsApp Telegram Share via Email