Question About HTML CSS





HTML CSS















Q1.What Is Stand of HTML CSS??
HTML -HyperText  Markup Language 
CSS - Cascading Style Sheets



Q2.How Write HTML??
By Tags Example <html>, <head>, <div>



Q3.How Write Css??
By class, Id, Tag  Example

Id 
#Border{
}

Class
.Border {
}

And tag Example 
P{
}


Q4.How Connect HTML CSS??
By Link Example <link href="Name of css file" rel="stylesheet">



Q5 Type of Css??
Internal Css'

External Css

Inline Csss



Q6.What is Internal Css??

html and css  writed in both one file called internal css 
Example 
<html>
<head>
<style>
.border{
width:500px;
height:300px;
}
</style>
</head>
</html>



7.What is External Css??
css writed in separate file and connect with html called external css

Example css file 
.border{
width:500px;
height:300px;
}

Example html file

<html>
<head>
<link href="css file name" rel="stylesheet">
</head>
<body>
<div class="border"></div>



Q8.what is inline Css??
write css code with one html line called inline css.

Example of Inline css
<img src="put file path" width="100px"  height="200px">





Q9. How save html file??
save html file as example New.html


Q10.How save css file??
 save css file as New.css