HTML CSS Detailed Answers (1)
HTML CSS Detailed Answers (1)
PART-A
HTML (HyperText Markup Language) is the standard language for creating web pages. It provides
of a webpage using elements like headings, paragraphs, and lists. Web browsers interpret HTML to
display content.
Basic Structure:
<!DOCTYPE html>
<html>
<head>
</head>
<body>
</body>
</html>
2) Explain the HTML elements for creating ordered and unordered lists.
Ordered lists display items in a numbered sequence, while unordered lists use bullet points. These
lists help
<ol>
<li>Wake up</li>
<li>Have breakfast</li>
</ol>
<ul>
<li>Apple</li>
<li>Banana</li>
<li>Grapes</li>
</ul>
3) Explain the CSS Box Model. Provide an example of applying a solid border.
The CSS Box Model defines how elements are structured on a webpage. It consists of content,
Example CSS:
.box {
padding: 10px;
margin: 20px;