Web Answers
Web Answers
<ol>
<li>Item 1</li>
<li>Item 2</li>
</ol>
2. Unordered List (<ul>):
<ul>
<li>Item A</li>
<li>Item B</li>
</ul>
b. Various heading tags
HTML supports six heading tags: <h1> to <h6>. Example:
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>
------------------------------------------------------------------------------------------------------------
7) <form>
Name: <input type="text" name="name"><br><br>
<p>HTML stands for:</p>
<input type="radio" name="html" value="1"> HighText Machine Language <br>
<input type="radio" name="html" value="2"> HyperText Markup Language <br>
<input type="radio" name="html" value="3"> None of these <br><br>
12) (a) What is the Box Model in CSS? Which CSS properties are a part of it?
The CSS Box Model is a fundamental concept that describes how elements are
structured and spaced in a webpage. It consists of four main parts:
Content
Padding
Border
Margin
(b) What is z-index, and how does it function?The z-index property in CSS
determines the stack order of elements on a webpage. Elements with a higher z-index
value will appear in front of elements with a lower z-index value.
13) Explain in brief about conflict resolution in CSS
When multiple CSS rules apply to the same element, the browser follows a conflict
resolution process to determine which rule takes effect. This process is based on the
following factors:
Specificity
Source order
Inheritance
Important (!important) declaration