0% found this document useful (0 votes)
23 views3 pages

Basic Web Designing Questions

The document contains a comprehensive list of questions related to HTML and CSS, organized into three sections: Basic HTML, Forms, Tables, and Lists, and Advanced HTML Topics for HTML; and Basic CSS, Box Model and Positioning, and Responsive Design and Advanced CSS for CSS. Each section includes specific questions that cover fundamental concepts, syntax, and practical applications. This serves as a study guide for individuals looking to enhance their knowledge and skills in web development.

Uploaded by

Morrice Nkhoma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views3 pages

Basic Web Designing Questions

The document contains a comprehensive list of questions related to HTML and CSS, organized into three sections: Basic HTML, Forms, Tables, and Lists, and Advanced HTML Topics for HTML; and Basic CSS, Box Model and Positioning, and Responsive Design and Advanced CSS for CSS. Each section includes specific questions that cover fundamental concepts, syntax, and practical applications. This serves as a study guide for individuals looking to enhance their knowledge and skills in web development.

Uploaded by

Morrice Nkhoma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

A.

HTML Ques ons (Structure, Elements, and A ributes)


1-10: Basic HTML
1. What does HTML stand for?
2. What is the purpose of the <!DOCTYPE html> declara on?
3. What is the difference between block-level and inline elements? Give
examples.
4. How do you create a hyperlink in HTML? Write an example.
5. What is the difference between <strong> and <b>?
6. What is the difference between <em> and <i>?
7. What is the purpose of the <meta> tag in the <head> sec on?
8. How do you display an image using HTML?
9. What is the correct way to comment in HTML?
10.Explain the difference between <sec on>, <ar cle>, and <div>.
11-20: Forms, Tables, and Lists
11.How do you create an ordered list and an unordered list in HTML?
12.How do you create a table in HTML? Write an example with <thead>,
<tbody>, and < oot>.
13.What is the difference between the <input type="radio"> and <input
type="checkbox">?
14.What are HTML form a ributes? Explain ac on, method, and name.
15.What is the difference between the GET and POST methods in a form?
16.How do you create a dropdown/select menu in HTML?
17.What is the purpose of the <label> tag in a form?
18.What is the purpose of the placeholder a ribute in an <input> element?
19.How do you make a form field required in HTML?
20.How do you create a file upload input in a form?
21-30: Advanced HTML Topics
21.What is seman c HTML, and why is it important?
22.Explain the difference between rela ve, absolute, and fixed links.
23.What is the difference between an id and a class in HTML?
24.How do you embed a video using HTML?
25.How do you create an HTML5 audio player?
26.What are iframes? Give an example of how they are used.
27.What are the different types of <input> elements in HTML5?
28.What is the difference between <progress> and <meter> elements?
29.How do you specify an image as a favicon for a webpage?
30.What are HTML en es? Give examples.

B. CSS Ques ons (Styling and Layouts)


31-40: Basic CSS
31.What does CSS stand for?
32.What are the different ways to apply CSS to a webpage?
33.What is the difference between internal, external, and inline CSS?
34.What is the syntax for applying a class selector in CSS?
35.What is the syntax for applying an ID selector in CSS?
36.What is the difference between em, rem, px, and % units in CSS?
37.How do you change the background color of a webpage?
38.What are pseudo-classes in CSS? Give examples.
39.How do you make a text bold, italic, and underlined using CSS?
40.How do you apply a Google Font to a webpage using CSS?
41-45: Box Model and Posi oning
41.What is the CSS Box Model? Explain its components.
42.What is the difference between rela ve, absolute, fixed, and s cky
posi oning?
43.What is the difference between visibility: hidden; and display: none;?
44.How do you center a div horizontally and ver cally using Flexbox?
45.What is the difference between float: le ; and display: inline-block;?
46-50: Responsive Design and Advanced CSS
46.What are media queries, and how are they used in CSS?
47.What is the difference between CSS Grid and Flexbox?
48.How do you create a s cky naviga on bar using CSS?
49.What is the purpose of z-index in CSS?
50.How do you add a hover effect to a bu on in CSS?

You might also like