forked from 4iz268/cviceni
-
Notifications
You must be signed in to change notification settings - Fork 0
/
08-js-css.html
51 lines (28 loc) · 1.5 KB
/
08-js-css.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>JS & CSS</title>
<script>
// jak pomoci JS menit CSS
function switchParagraph() {
var par = document.getElementById('p1')
if (par.style.visibility=='hidden') {
par.style.visibility = 'visible';
} else {
par.style.visibility = 'hidden';
}
}
</script>
</head>
<body>
<h1>JS & CSS</h1>
<input type="button" value="Show/Hide paragraph" onclick="switchParagraph()">
<p id="p1">
<q cite="https://en.wikipedia.org/wiki/Ford_Mustang">
The Ford Mustang is an American automobile manufactured by the Ford Motor Company. It was initially based on the platform of the second generation North American Ford Falcon, a compact car.[1] Introduced early on April 17, 1964,[2] and thus dubbed as a "1964½" model by Mustang fans, the 1965 Mustang was the automaker's most successful launch since the Model A.[3] The Mustang has undergone several transformations to its current sixth generation.
The Mustang created the "pony car" class of American automobiles—sports-car like coupes with long hoods and short rear decks[4]—and gave rise to competitors such as the Chevrolet Camaro,[5] and Pontiac Firebird, AMC Javelin,[6] as well as Chrysler's revamped Plymouth Barracuda and the first generation Dodge Challenger.[7] The Mustang is also credited for inspiring the designs of coupés such as the Toyota Celica and Ford Capri, which were imported to the United States.
</q>
</p>
</body>
</html>