HTML, CSS and the fundamentals of building websites — 63 easy questions for aspiring web developers and anyone curious about how websites work.
1. Which HTML tag creates a hyperlink?
💡 The <a> (anchor) tag creates hyperlinks in HTML: <a href="url">Link text</a>
2. What is the purpose of the <title> tag in HTML?
💡 The <title> tag sets the title of the HTML document shown in the browser tab.
3. What does URL stand for?
💡 URL stands for Uniform Resource Locator — the address of a resource on the internet.
4. Which CSS property changes text color?
💡 The CSS property "color" sets the text color of an element.
5. What does JavaScript primarily do on a website?
💡 JavaScript adds interactivity and dynamic behavior to web pages, like button clicks and animations.
6. What does HTTP stand for?
💡 HTTP stands for HyperText Transfer Protocol — the foundation of data communication on the web.
7. What does CSS stand for?
💡 CSS stands for Cascading Style Sheets — used to style and layout HTML web pages.
8. Which HTML tag is used for the largest heading?
💡 <h1> is the largest heading tag in HTML. Headings go from <h1> (largest) to <h6> (smallest).
9. Which HTML tag creates a paragraph?
💡 The <p> tag defines a paragraph in HTML: <p>This is a paragraph.</p>
10. What tag is used to insert an image in HTML?
💡 The <img> tag is used to embed images in HTML: <img src="image.jpg" alt="description">