博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
6-CSS
阅读量:6041 次
发布时间: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

你可能感兴趣的文章
Sublime 中运行 Shell 、Python、Lua、Groovy...等各种脚本
查看>>
【Java集合源码剖析】ArrayList源码剖析
查看>>
linux的目录结构
查看>>
这次逻辑通了,
查看>>
HTMLHelper
查看>>
快速构建Windows 8风格应用29-捕获图片与视频
查看>>
OC语言Block和协议
查看>>
使用xpath时出现noDefClass的错误(找不到某个类)
查看>>
.Net规则引擎介绍 - REngine
查看>>
CSS3 transforms 3D翻开
查看>>
利用传入的Type类型来调用范型方法的解决方案
查看>>
Top命令内存占用剖析
查看>>
转 网络IO模型:同步IO和异步IO,阻塞IO和非阻塞IO
查看>>
求带分数(蓝桥杯)
查看>>
Bootstrap系列 -- 11. 基础表单
查看>>
Retrofit 入门学习
查看>>
Spring Boot学习笔记
查看>>
python3存入redis是bytes
查看>>
laravel 集合接口
查看>>
C/C++二进制读写png文件
查看>>