-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcss.html
More file actions
62 lines (61 loc) · 3.55 KB
/
css.html
File metadata and controls
62 lines (61 loc) · 3.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>CSS</title>
</head>
<body background="VC.jpg">
<nav class="navbar background" >
<ul class="nav-list">
<div class="logo"><img src="img.jpg" alt="logo"</div>
<li><a href="index.html">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="java.html">JAVA</a></li>
<li><a href="c.html">C++</a></li>
<li><a href="python.html">PYTHON</a></li>
<li><a href="html.html">HTML</a></li>
<li><a href="css.html">CSS</a></li>
</ul>
</nav>
<section class="section-op">
<div class="paras">
<p class="sectionTag text-big">CSS Introduction</p>
<p class="sectionSubTag text-small"><ul>
Cascading Style Sheets, fondly referred to as CSS, is a simply designed language intended to simplify the process of making web pages presentable. CSS allows you to apply styles to web pages. More importantly, CSS enables you to do this independent of the HTML that makes up each web page.<br>
CSS is easy to learn and understand, but it provides powerful control over the presentation of an HTML document.<br>
Attention reader! Don't stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners HTML course.<br>
WHY CSS? <br>
<li>CSS saves time: You can write CSS once and reuse the same sheet in multiple HTML pages.</li><br>
<li>Easy Maintenance: To make a global change simply change the style, and all elements in all the webpages will be updated automatically.</li><br>
<li>Search Engines: CSS is considered a clean coding technique, which means search engines won’t have to struggle to “read” its content.</li><br>
<li>Superior styles to HTML: CSS has a much wider array of attributes than HTML, so you can give a far better look to your HTML page in comparison to HTML attributes.</li><br>
<li>Offline Browsing: CSS can store web applications locally with the help of an offline cache. Using this we can view offline websites.</li><br>
CSS Syntax:<br>
A CSS comprises style rules that are interpreted by the browser and then applied to the corresponding elements in your document.
A style rule set consists of a selector and declaration block.<br>
Selector -- h1<br>
Declaration -- {color:blue;font size:12px;}<br>
The selector points to the HTML element you want to style.<br>
The declaration block contains one or more declarations separated by semicolons.<br>
Each declaration includes a CSS property name and a value, separated by a colon.<br>
For Example:<br>
color is property and blue is value.<br>
font-size is property and 12px is value.<br>
A CSS declaration always ends with a semicolon, and declaration blocks are surrounded by curly braces.<br>
<h6 class="ee">To Watch Tutorials Click On the Button Given Below </h6></p>
<button class="btn-sb"><a class="ii" href="https://youtu.be/Edsxf_NBFrw" target="_blank">CSS</a><br></button>
</p>
</div>
<div class="thumbnail-y">
<img src="cs.jpg" alt="coding" class="imgFluid" height="135">
</div>
</section>
<footer class="background">
<p class="text-footer">Copyright © 2027-All rights reserved
</p>
</footer>
</body>
</html>