Learn CSS - Cascading Style Sheet - For Making Best Websites and Web Pages - BOOKC -->

Learn CSS - Cascading Style Sheet - For Making Best Websites and Web Pages

Tuesday, January 15, 2019

How do Write CSS:-
You can Write CSS in three way with HTML, external file, under the HTML variables.
Let's Talk About With HTML method
You write a <style></style> Code On Html head tag and Write every CSS Code Under This Code.
With HTML Code Structure:-

<html>
<head>
<style>
h2{color:red; font-size:50px; border:1px solid;} - this is Code Of CSS
</style>
</head>
<body>
<h2>this is CSS with HTML</h2>
</body>
</html>

External File Method used for make a Website Data File Low size because The Big size Files Not Open fast And Than You Have No Visitors To Your Website
You Make a External File Of CSS With Name StyleSheet.CSS and Write only CSS in a this File.

With HTML Variables you can write any code of CSS with HTML tags like - "<div style="write the CSS code"></div>"
In the double quotes Write you CSS Code This Method is only For Edit a Small Size codes Of HTML but large Codes you Not Write These code in every Variable of HTML because A large file of HTML have 3000 or more tags you use the other two method


CSS Syntax:- div{ Color:Red;}

Write HTML Tags Like The div that I write and Under The Cerlibrackets you write your CSS code what you do with HTML code you change His Color Or Change His Size

<html>
<head>
<style>
h2{color:red; font-size:50px; border:1px solid;} - this is Code Of CSS
</style>
</head>
<body>
<h2>this is CSS with HTML</h2>
</body>
</html>

This an Basic code of HTML and CSS
Chose HTML variable And Write What change you do with her

How do Write With HTML Class And ID
Write With Class Tags Of HTML you Know about If You Not Know About HTML Learn Html
Write With Class Tags Only Do Place A Dot Like This -
<html>
<head>
<style>
.One{color:red; font-size:50px; border:1px solid;} - this is Code Of CSS
</style>
</head>
<body>
<h2 class="One">this is CSS with HTML</h2>
</body>
</html>

Write a Single Dot With starting of CSS code

And How do Write With ID
See This -

<html>
<head>
<style>
#One{color:red; font-size:50px; border:1px solid;} - this is Code Of CSS
</style>
</head>
<body>
<h2 id="One">this is CSS with HTML</h2>
</body>
</html>

Just Write A Hash At The Starting Of CSS code

What you really Do With CSS
CSS is Import For Making And Website And HTML Because HTML is The Body Of Website But The CSS is Spirit Of Website Without CSS You Can't create a Best Looking Website And If Your Website is Not a Beautiful theme Visitors Can't Visit Your Website you can do these with HTML give color To HTML Variables, changing size of HTML variables, change movement, giving Real Value to the table tag Of HTML and More Changes CSS Is Important for making A Website

Some Code Of CSS
color - for change Color
font-size - for change font size
height - changing heights of HTML variable
weight - changing the weight of HTML variables
padding - to move a variable of HTML of Every Side Of Website Structure
margin - this code Move The HTML Variables With out improving The Size of Page
tractions - making a Code spin and Running headings

background-color - These are used for give color to the any variable

background-images - this is used for set a background image

Or more codes in next post because They are in advance CSS course learn these all and basic usage of CSS and HTML after This Learn Advance And After all I Published a Post Of Basic JavaScript for you all My friends thanks for reading subscribe Our Blog for newsletter
And also Subscribe on YouTube