博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
6-CSS
阅读量:6043 次
发布时间:2019-06-20

本文共 2515 字,大约阅读时间需要 8 分钟。

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 Section10

    Chapter 1

    11

    This chapter explains ba bla bla

    12 13

    Chapter 2

    14

    This chapter explains ba bla bla

    15 16

    Chapter 3

    17

    This chapter explains ba bla bla

    18 19

    Chapter 4

    20

    This chapter explains ba bla bla

    21 22

    Chapter 5

    23

    This chapter explains ba bla bla

    24 25

    Chapter 6

    26

    This chapter explains ba bla bla

    27 28

    Chapter 7

    29

    This chapter explains ba bla bla

    30 31

    Chapter 8

    32

    This chapter explains ba bla bla

    33 34

    Chapter 9

    35

    This chapter explains ba bla bla

    36 37

    Chapter 10

    38

    This chapter explains ba bla bla

    39 40

    Chapter 11

    41

    This chapter explains ba bla bla

    42 43

    Chapter 12

    44

    This chapter explains ba bla bla

    45 46

    Chapter 13

    47

    This chapter explains ba bla bla

    48 49

    Chapter 14

    50

    This chapter explains ba bla bla

    51 52

    Chapter 15

    53

    This chapter explains ba bla bla

    54 55

    Chapter 16

    56

    This chapter explains ba bla bla

    57 58

    Chapter 17

    59

    This chapter explains ba bla bla

    60 61
    View Code
    1  2  3  4     34     
    35 Color36 37 38 39 40

    41 This is a link to a website on the World Wide Web

    42

    Using the local link

    43

    Background-color set by using yellow

    44

    Background-color set by using blue

    45

    Hello everyone, I am JackSparrow and I am from Anhui Province

    46

    天天向上,好好学习

    47 48

    Hello everyone, I am JackSparrow and I am from Anhui Province

    49 50
    View Code

     

  •  

转载于:https://www.cnblogs.com/robohou/p/8453297.html

你可能感兴趣的文章
MyBatis学习总结(三)——优化MyBatis配置文件中的配置
查看>>
Spring常用注解
查看>>
我的友情链接
查看>>
PCS子层有什么用?
查看>>
查看端口,关闭端口
查看>>
代码托管平台简介
查看>>
linux:yum和apt-get的区别
查看>>
Sentinel 1.5.0 正式发布,引入 Reactive 支持
查看>>
如何对网站进行归档
查看>>
数据库之MySQL
查看>>
2019/1/15 批量删除数据库相关数据
查看>>
数据类型的一些方法
查看>>
Mindjet MindManager 2019使用教程:
查看>>
游戏设计的基本构成要素有哪些?
查看>>
详解 CSS 绝对定位
查看>>
AOP
查看>>
我的友情链接
查看>>
NGUI Label Color Code
查看>>
.NET Core微服务之基于Polly+AspectCore实现熔断与降级机制
查看>>
vue组件开发练习--焦点图切换
查看>>