html css basic

34
ҡҭҦҥ BASIC :؋ݘ[email protected] 1 ҜҬҬ

Upload: -

Post on 14-Apr-2017

578 views

Category:

Software


0 download

TRANSCRIPT

Page 1: Html css basic

BASIC

: [email protected]

1

Page 2: Html css basic

2

HTML

CSS

Page 3: Html css basic

3

Sublime Text Fire Fox

Page 4: Html css basic

4<!DOCTYPE html> <html>

<head> <title>SAMPLE PAGE</title>

</head> <body>

<h1>Oh</h1> <h2>Hi</h2> <h3>Yo</h3>

</body> </html>

SAMPLE PAGE

Page 5: Html css basic

5

<!DOCTYPE html> <html>

<head> <title>SAMPLE PAGE</title>

</head> <body>

<h1>Oh</h1> <h2>Hi</h2> <h3>Yo</h3>

</body> </html>

SAMPLE

Page 6: Html css basic

.

6

name.cssname.html

Page 7: Html css basic

<> </>7

<p> </p>

Page 8: Html css basic

8<!DOCTYPE html> <html>

<head> <title>SAMPLE PAGE</title>

</head> <body>

<h1>Oh</h1> <h2>Hi</h2> <h3>Yo</h3>

</body> </html>

HTML 5

Page 9: Html css basic

9<!DOCTYPE html> <html>

<head> <title>SAMPLE PAGE</title>

</head> <body>

<h1>Oh</h1> <h2>Hi</h2> <h3>Yo</h3>

</body> </html>

HTML

Page 10: Html css basic

10<!DOCTYPE html> <html>

<head> <title>SAMPLE PAGE</title>

</head> <body>

<h1>Oh</h1> <h2>Hi</h2> <h3>Yo</h3>

</body> </html>

<title> <link> <meta>

Page 11: Html css basic

<meta charset="UTF-8">

<title> </title>

<link rel="stylesheet" type="text/css" href="theme.css">

11

Page 12: Html css basic

12<!DOCTYPE html> <html>

<head> <title>SAMPLE PAGE</title>

</head> <body>

<h1>Oh</h1> <h2>Hi</h2> <h3>Yo</h3>

</body> </html>

Page 13: Html css basic

13<h1> <div> <p> <span> <ul> <li> <a> <img>…

Page 14: Html css basic

14

SAMPLE PAGE<h1>Oh</h1>

<h2>Hi</h2>

<h3>Yo</h3>

Page 15: Html css basic

15

SAMPLE PAGE

<p>See you again</p>

<p>See you again</p>

<p>See</p> <p>you</p> <p>again</p>

See you again

See you again

See

you

again

Page 16: Html css basic

16

SAMPLE PAGE

<a href=“http://google.com”>See you again</a>

See you again

Click!SAMPLE PAGE

Page 17: Html css basic

17

SAMPLE PAGE

<img herf=“pet_one_dallor.jpg”></img>

Page 18: Html css basic

18

SAMPLE PAGE<ol> <li>See</li> <li>you</li> <li>again</li> </ol>

1. See

2. you

3. again

Page 19: Html css basic

19

SAMPLE PAGE<ul> <li>See</li> <li>you</li> <li>again</li> </ul>

See

you

again

Page 20: Html css basic

20

SAMPLE PAGE

<div>see</div> <div>you</div> <div>again</div>

see you again

see you again<span>see<span> <span>you</span> <span>again</span>

Page 21: Html css basic

21

block inline-block

Page 22: Html css basic

: [email protected]

22

Page 23: Html css basic

23

index.html theme.css

Page 24: Html css basic

24

<!DOCTYPE html> <html>

<head> <title>SAMPLE PAGE</title>

<link rel="stylesheet" type="text/css" href="theme.css"> </head> <body>

<h1>Oh</h1> <h2>Hi</h2> <h3>Yo</h3>

</body> </html>

Page 25: Html css basic

25

SAMPLE PAGE

See you again

See you again

H T M L C S S

<p>See you again</p>

<p class=“style”>See you again</p>

.style{

color: green;

}

Page 26: Html css basic

26

{

: ;

}

Page 27: Html css basic

27

<p>See you again</p>

Page 28: Html css basic

28

id class

<p>See you again</p>

Page 29: Html css basic

29

<p id=“cat” class=“style”>

p { Tag P }#cat { id cat }.style { class style }

Page 30: Html css basic

30

Page 31: Html css basic

31

SAMPLE PAGE

See you again

H T M L C S S

<p class="style"> See you again </p>.style{ color: green; } .style{ color: yellow; } .style{ color: red; } .style{ color: blue; }

Page 32: Html css basic

32

Page 33: Html css basic

33

Page 34: Html css basic

34