CSS 样式
来源:互联网 发布:冰毒淘宝暗语 编辑:程序博客网 时间:2024/06/06 14:29
css三种基本样式
- 行内样式
- css的基本样式 (不提倡使用)
- 内部样式
- 将css样式编写在页面内部,所有的样式逗编写在
<style>
元素中。
- 将css样式编写在页面内部,所有的样式逗编写在
- 外部样式
- 将css样式编写在一个单独的文件中,该文件可由多个页面调用。
行内样式
<h1 style="color:blue;font-size:23px">行内样式</h1>
内部样式
<html><head><style>p{ font-size:24px; text-indent:3em;}</style></head><body><p>内部样式</p></body></html>
外部样式
html5
<html><head><link rel="stylesheet" href="style.css" type="text/css" /></head><body><p>外部样式</p></body></html>
调用style.css
p{ font-size:24px; text-indent:3em;}
0 0
- CSS样式
- CSS样式
- css样式
- CSS样式
- CSS样式
- Css样式
- CSS样式
- CSS 样式
- css样式
- CSS样式
- css样式
- css样式
- css样式
- css样式
- css样式
- CSS样式
- CSS 样式
- css样式
- 分布式环境中的负载均衡策略
- 剖析 Linux hypervisor
- Android Studio Windows版 快捷键
- jprofiler监控线程-初探
- spring获取bean的几种方式
- CSS 样式
- Android之二维码生成实现
- MQ选型对比RabbitMQ RocketMQ ActiveMQ Kafka
- getpw()函数的使用
- mysql之正确使用索引
- 什么是嵌入式实时操作系统ucos-ii?有了解的吗?
- csdn如何转载别人的文章
- 常用Bootstrap工具类(各种按钮/清除浮动/居中对齐)
- maven在pom资料里引用本地jar