-
Notifications
You must be signed in to change notification settings - Fork 114
Expand file tree
/
Copy pathstylehtml5.html
More file actions
79 lines (73 loc) · 2.48 KB
/
Copy pathstylehtml5.html
File metadata and controls
79 lines (73 loc) · 2.48 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<!DOCTYPE html>
<html>
<head>
<link href="https://fonts.googleapis.com/css?family=Lato:400,700,900&display=swap" rel="stylesheet">
<meta charset = "UTF-8">
<title>Styles</title>
<style type = "text/css">
em{
font-weight: 900;
color: pink;
}
h1{
font-family: 'Roboto', sans-serif;
position: absolute;
top: 20px;
left: 200px;
z-index: 3;
font-size: 20pt;color:
purple; }
h2 { font-family: tahoma, helvetica, sans-serif;
position: absolute;
top: 60px;
left: 150px;
z-index: 3;
font-size: 20pt;color: blue; }
p{ font-size: 12pt;
font-family: arial, sans-serif;
}
.background_image
{ position: absolute;
top: 0px;
left: 0px;
z-index: 1; }
.foreground_image { position: absolute;
top: 25px;
left: 100px;
z-index: 2; }
.text1 { position: absolute;
top: 120px;
left: 150px;
z-index: 3;
font-size: 20pt;
font-family: tahoma, geneva, sans-serif; }
.text2 { position: absolute;
top: 150px;
left: 150px;
z-index: 3;
font-size: 40pt;
font-family: tahoma, geneva, sans-serif;
color: red; }
</style>
</head>
<body>
<h1>FCA UNAM</h1>
<h2>Desarrollo de sitios web con transacciones en líneal</h1>
<p><img src = "images/background_image.png" class = "background_image"
alt = "First positioned image" /></p>
<p>
<img src = "images/foreground_image.png" class = "foreground_image"
alt = "Second positioned image" />
</p>
<!-- The style attribute allows you to declare -->
<!-- inline styles. You should separate multiple -->
<!-- style properties with a semicolon. -->
<p class = "text1">This text has the
<em>font-size</em> style applied to it, making it 20pt.
</p>
<p class = "text1">
This text has the <em>font-size</em> and
<em>color</em> styles applied to it, making it
20pt and deep sky blue.</p>
</body>
</html>