HTML na enna?
HTML is used to create the structure of a webpage.CSS na enna?
CSS is used to style and design a webpage.HTML and CSS difference?
HTML creates the structure. CSS creates the design.What is class?
Class is used to apply styles to one or more HTML elements.What is ID?
ID is used to identify and style a specific HTML element.
6.What is Flexbox?
Flexbox is used to arrange elements easily in rows or columns.
7.What is Responsive Design?
Responsive design makes a webpage work properly on mobile, tablet, and computer screens.
8.What is HTML?
HTML stands for HyperText Markup Language. It is used to create the structure of a web page.
9.What is an attribute in HTML?
An attribute gives extra information about an HTML element.
Example:
.
10.What is a form in HTML?
A form is used to collect user information, like name, email, and password.
11.What is the difference between
and ?is a block-level element.
is an inline element.
12.What is CSS?
CSS stands for Cascading Style Sheets. It is used to style a webpage.
13.Why do we use CSS?
CSS is used to change color, size, spacing, layout, and design.
There are 3 types:
1.Inline CSS
2.Internal CSS
3.External CSS
1.What is Inline CSS?
CSS written inside an HTML tag is called Inline CSS.
Example:
Hello
.2.What is Internal CSS?
CSS written inside the tag in an HTML file is called Internal CSS.</p>
<p>3.What is External CSS?<br>
CSS written in a separate .css file is called External CSS.<br>
14.What is a CSS selector?<br>
A selector is used to select an HTML element for styling.</p>
<p>15.What is a class in CSS?<br>
A class is used to apply the same style to one or more elements.<br>
Example: .box { color: red; }</p>
<p>16.What is an ID in CSS?<br>
An ID is used to style a specific element.<br>
Example: #header { color: blue; }</p>
<p>17.What is the CSS box model?<br>
The box model contains:<br>
Content → Padding → Border → Margin</p>
<p>18.What is margin in CSS?<br>
Margin is the space outside an element.</p>
<p>19.What is padding in CSS?<br>
Padding is the space inside an element, between the content and border.</p>
<ol>
<li>What is <!DOCTYPE html>?
It tells the browser that the document uses HTML5.
It is written at the beginning of an HTML file.</li>
</ol>
<p>21.What is <hr> tag?<br>
<hr> creates a horizontal line on the webpage.<br>
It is often used to separate sections.</p>
<ol>
<li><p>What is <ul> tag?<br>
<ul> creates an unordered list.<br>
The items are usually shown with bullet points.</p></li>
<li><p>What is <ol> tag?<br>
<ol> creates an ordered list.<br>
The items are displayed with numbers.</p></li>
<li><p>What is <li> tag?<br>
<li> means list item.<br>
It is used inside <ul> or <ol>.</p></li>
</ol>
<p>25.What is padding?<br>
Padding is the space inside an element.<br>
It creates space between content and the border.</p>
Top comments (0)