-
Notifications
You must be signed in to change notification settings - Fork 0
/
css8.html
67 lines (54 loc) · 3.15 KB
/
css8.html
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
63
64
65
66
67
<!--
-->
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="css8.css">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Gallary of CSS div Project</title>
</head>
<body>
<div class="aa">
<h1>GALLARY of CSS3</h1>
</div>
<div class="bb"><p>What is HTML explain?
HTML (Hypertext Markup Language) is the code that is used to structure a web page and its content. For example, content could be structured within a set of paragraphs, a list of bulleted points, or using images and data tables</p>
</div>
<div class="cc"><p>CSS is used for defining the styles for web pages. It describes the look and formatting of a document which is written in a markup language. It provides an additional feature to HTML. It is generally used with HTML to change the style of web pages and user interfaces.</p>
</div>
<div class="dd"><p>External CSS contains separate CSS file which contains only style property with the help of tag attributes (For example class, id, heading, … etc). CSS property written in a separate file with .css extension and should be linked to the HTML document using link tag. This means that for each element, style can be set only once and that will be applied across web pages.</p>
</div>
<div class="ee"><p>Inline CSS has the highest priority, then comes Internal/Embedded followed by External CSS which has the least priority. Multiple style sheets can be defined on one page. If for an HTML tag, styles are defined in multiple style sheets then the below order will be followed.External style sheets have the least priority.</p>
</div>
<img src="css1.png" class="ff">
<img src="css2.png" class="gg">
<img src="css3.png" class="hh">
<div class="ii"><p>Cascading Style Sheet(CSS) is used to set the style in web pages that contain HTML elements. It sets the background color, font-size, font-family, color, … etc property of elements on a web page.
There are three types of CSS which are given below: </p>
<ol>
<li>
Inline CSS </li>
<li>
Internal / Embedded CSS </li>
<li>
External CSS
</li>
</ol>
</div>
<div class="jj">
<dl>
<dt>CSS saves time</dt>
<dd> You can write CSS once and reuse the same sheet in multiple HTML pages.</dd>
<dt>Easy Maintenance</dt>
<dd> To make a global change simply change the style, and all elements in all the webpages will be updated automatically.</dd>
</dl>
</div>
<div class="aaa"><marquee behavior="alternate" scrollamount="10" onmouseover="stop()" onmouseout="start()">
<h6>All rights are reserved © for Pranveer Singh
<a href="http://instagram.com" title="Instagram" target="_blank"><img src="ig.jpg" height="30" width="30"></a>
<a href="http://twitter.com" title="twitter" target="_blank"><img src="tt.jpg"height="30" width="30"></a>
<a href="http://linkedin.com" title="linkedin" target="_blank"><img src="li.png"height="30" width="30"></a></h6></marquee>
</div>
</body>
</html>