HTML Style Tags
CSS stands for Cascading Style Sheets.
CSS describes how HTML elements are to be displayed on screen, paper, or in other media.
CSS saves a lot of work. It can control the layout of multiple web pages all at once.
CSS can be added to HTML elements in 3 ways:
- Inline - by using the style attribute in HTML elements
- Internal - by using a <style> element in the <head> section
- External - by using an external CSS file
Tag | Description |
---|---|
Defines style information for an HTML document | |
Defines a link between a document and an external resource |
- Use the HTML style attribute for inline styling
- Use the HTML <style> element to define internal CSS
- Use the HTML <link> element to refer to an external CSS file
- Use the HTML <head> element to store <style> and <link> elements
- Use the CSS color property for text colors
- Use the CSS font-family property for text fonts
- Use the CSS font-size property for text sizes
- Use the CSS border property for borders
- Use the CSS padding property for space inside the border
- Use the CSS margin property for space outside the border
-
1 2 3 4 5
Creating a bookmark 6 7 8 < 9 Visit the useful Tips Section10Chapter 1
11This chapter explains ba bla bla
12 13Chapter 2
14This chapter explains ba bla bla
15 16Chapter 3
17This chapter explains ba bla bla
18 19Chapter 4
20This chapter explains ba bla bla
21 22Chapter 5
23This chapter explains ba bla bla
24 25Chapter 6
26This chapter explains ba bla bla
27 28Chapter 7
29This chapter explains ba bla bla
30 31Chapter 8
32This chapter explains ba bla bla
33 34Chapter 9
35This chapter explains ba bla bla
36 37Chapter 10
38This chapter explains ba bla bla
39 40Chapter 11
41This chapter explains ba bla bla
42 43Chapter 12
44This chapter explains ba bla bla
45 46Chapter 13
47This chapter explains ba bla bla
48 49Chapter 14
50This chapter explains ba bla bla
51 52Chapter 15
53This chapter explains ba bla bla
54 55Chapter 16
56This chapter explains ba bla bla
57 58Chapter 17
59This chapter explains ba bla bla
60 611 2 3 4 34 35
Color 36 37 38 39 4041 This is a link to a website on the World Wide Web
42Using the local link
43Background-color set by using yellow
44Background-color set by using blue
45 Hello everyone, I am JackSparrow and I am from Anhui Province46天天向上,好好学习
47 48Hello everyone, I am JackSparrow and I am from Anhui Province
49 50