Basic CSS

Basic CSS

Cascading style sheet:

Q1. What is CSS?

CSS Is The Most Popular Styling And Designing Programming Language Used To Shaped HTML Elements That Will Be Displayed In The Browsers.

1). CSS- Stands for the cascading style sheet.

2). CSS- gives beautifulness of HTML Elements.

3). CSS- capable to modify HTML elements And add more arrangements on a web page

"Differents Way to Bring CSS files"

1). inline CSS.

2). Internal CSS.

3). External Css

1). inline - it means use css in the HTML tags Inside the html Tags

example :- a). <h1 style="text-align:center;">Paras Bagri</h1>

b)<p style="text-color:red;">Paras Bagri</p>

2). Internal CSS- the internal CSS is the nothing but use <style> tage within the < head> tag means use <style></style> tag inside the html <head> tag

example- <head>

<style>

p{

background-color:red;

}

</style>

</head>

3). External CSS- it means create two files separeted one for HTML and Another For CSS for styling the HTML file And link CSS file in html

example- <link rel="cascadingstylesheet" href=" css file name"/>