当前位置: 首页 > news >正文

可以做动漫的网站有哪些常州网站建设

可以做动漫的网站有哪些,常州网站建设,皮肤科医生免费问诊,大连专业网站建设文章目录 前言一、pandas是什么&#xff1f;二、使用步骤 1.引入库2.读入数据总结 一.div 标签&#xff1a; <div>是HTML中的一个常用标签&#xff0c;用于定义HTML文档中的一个区块&#xff08;或一个容器&#xff09;。它可以包含其他HTML元素&#xff0c;如文本、图像…

文章目录

  • 前言
  • 一、pandas是什么?
  • 二、使用步骤
    • 1.引入库
    • 2.读入数据
  • 总结

 一.div 标签:

<div>是HTML中的一个常用标签,用于定义HTML文档中的一个区块(或一个容器)。它可以包含其他HTML元素,如文本、图像、表格、链接等。

语法: 

<div>这是一个div区块</div>
#可以通过CSS样式为<div>标签设置宽度、高度、背景色、边框等样式属性,从而美化和定位页面中的内容。
<div style="width: 200px; height: 200px; background-color: red; border: 1px solid black;">这是一个红色的div区块</div>

案例 

<body><div><h1>京东商城的全部商品分类</h1><h2>图书 音响 电子书刊</h2><p><span>电子书刊</span>电子书 网络原创 数字杂志<br/><span>音响</span>音乐 影视 教育视频<br/><span>经管励志</span>经济 管理 励志<br/></p><h2>家用电器</h2><p> <span>大家电</span>平板 空调 冰箱<br/><span>生活电器</span>净化器 电风扇 饮水机<br/></p>
</body>

 二.字体样式

font-family 

此处演示第一种,剩余几种参考上图。

语法:

font-family: font1, font2, font3,...;

案例:

<head><meta charset="utf-8"><title></title><style> <!--匹配所有body内元素应用CSS样式-->body{font-family:"华文行楷";}</style>
</head>

 font-style

语法:

font-style:属性值
font-style中的属性值
normal使用默认的字体样式
italic使用斜体字体样式。
oblique使用倾斜字体样式。

 font-weight

font-weight属性值
normal默认值,表示正常粗细
bold表示粗体
bolder比normal更粗的粗体。
ighter比normal更细的粗体

 三.文本样式

 语法:

color:CSS样式;
text-align:CSS样式;
text-indent:20px;
line-height:25px;
text-decoration:CSS样式;

案例: 

<style type="text/css">h1{color: red;font: oblique bold 20px "华为楷体";text-align: center;/**设置文本居中对齐*/}p{text-align: left;text-indent: 2em;/**设置文本首行缩进2字符**/text-decoration: underline;/**添加下划线**/line-height: 50px;/**设置行高**/}
</style>	

 

 text-align

text-align 属性值
left左对齐文本
right右对齐文本
center居中对齐文本
justify两端对齐文本,行末不留空。
initial将text-align属性重置为默认值。
inherit继承父元素的text-align属性值

text-ident 

text-ident 属性值
像素值(px)正数表示向右缩进,负数表示向左缩进。
百分比(%)相对于包含块的宽度进行缩进,正数表示向右缩进,负数表示向左缩进。
em相对于当前元素的字体大小进行缩进,正数表示向右缩进,负数表示向左缩进。
rem相对于根元素的字体大小进行缩进,正数表示向右缩进,负数表示向左缩进。
浮点数(-10px)相对于包含块的宽度进行缩进,正数表示向右缩进,负数表示向左缩进。
inherit继承父元素的text-indent属性值。

text-decoration: 

text-decoration:
underline设置下划线
none移除下划线

  四.垂直对齐方式

在HTML中,垂直对齐是指将元素的内容在垂直方向上对齐到指定的位置

 语法:

<style type="text/css">/**需要同时设置图片和文本居中**/img,span{vertical-align: middle;}/**文本需要图片作为参照物**/
</style><p><img src="index1.png" alt="高管团队" width="176px" height="108px"><span>电子书刊</span>电子书 网络原创 数字杂志<br/>

五.文本阴影

语法:

text-shadow:h-shadow v-shadow blur color;(属性值)
text-shadow: 属性值
h-shadow水平阴影的位置。可以使用负值表示向左移动阴影,正值表示向右移动阴影。
v-shadow垂直阴影的位置。可以使用负值表示向上移动阴影,正值表示向下移动阴影。
blur可选项,表示模糊半径。可以为0,表示无模糊效果。
color可选项,表示阴影的颜色。可以使用颜色的名称、RGB值或十六进制值。

 案例:

    <style type="text/css">h1{text-shadow: 15px 15px 1px rebeccapurple;}</style>
<body><a href="#"><h3>html</h3></a>
</body>	

六.超链接伪类 

 HTML中的超文本伪类是用于为链接添加特殊效果或样式的伪类。

超链接伪类的常用样式
hover表示鼠标悬停在链接上时的状态,示例:a:hover { color: red; }
active表示正在点击链接时的状态,示例:a:active { color: green;}

 hover

语法:

a:hover {#CSS样式 }

案例: 

    <style type="text/css">h3{font-size: 100px;color: aqua;text-decoration: none;}h3:hover{font-size: 200px;color: red;text-decoration: none;}</style>
<body><a href="#"><h3>html</h3></a>
</body>	
  • 鼠标不在超链接上的样式

 

  •  鼠标在超链接上的样式

七.列表样式 

 语法:

list-style:属性值

 案例:

<style>ul{list-style-type: none;}
</style>

八.网页背景样式

 背景颜色

 案例:

    <style type="text/css">div{width: 200px;height: 200px;border: 1px solid red; /**solid:定义边框样式**/background-color: aqua;}</style>
body><div></div>/**定义一个HTML边框**/
</body>

 背景图像

 案例:

    <style type="text/css">div{width: 800px;height: 200px;border: 1px solid red;background-image: url("index1.png");/**背景图默认平铺展示**/}<!--repeat:重复显示方式 position:定位 -->#d1{background-repeat:repeat-x;}/**在X轴平铺**/ <!---->#d2{background-repeat:repeat-y;}/**在y轴平铺**/#d3{background-repeat:no-repeat;}/**不平铺**/#d3{background-position: 90px 90px;}/**不平铺时控制图片在该区域中显示的位置**/</style>
<body><div id="d1"></div><div id="d2"></div><div id="d3"></div>
</body>	

 九.CSS渐变

 语法:

background: linear-gradient(direction, color-stop1, color-stop2, ...);

案例:

    <style type="text/css">div{width: 800px;height: 200px;border: 1px solid rebeccapurple;background: linear-gradient(to top ,blue,red);/**从下到上由蓝变红**/}</style>
<body><div id="d1"></div>
</body>

十:练习 
 


总结


文章转载自:
http://bacteriostat.ciuzn.cn
http://aficionado.ciuzn.cn
http://bergall.ciuzn.cn
http://badger.ciuzn.cn
http://bedcover.ciuzn.cn
http://astound.ciuzn.cn
http://cephalometry.ciuzn.cn
http://camaron.ciuzn.cn
http://chartered.ciuzn.cn
http://bonze.ciuzn.cn
http://atlantes.ciuzn.cn
http://archiepiscopate.ciuzn.cn
http://attap.ciuzn.cn
http://chromogen.ciuzn.cn
http://blister.ciuzn.cn
http://analytic.ciuzn.cn
http://chive.ciuzn.cn
http://bugseed.ciuzn.cn
http://camorrista.ciuzn.cn
http://amatorial.ciuzn.cn
http://bimbo.ciuzn.cn
http://benefit.ciuzn.cn
http://assibilation.ciuzn.cn
http://bragi.ciuzn.cn
http://astringe.ciuzn.cn
http://audiovisuals.ciuzn.cn
http://antipoetic.ciuzn.cn
http://amend.ciuzn.cn
http://assassinate.ciuzn.cn
http://brachycranic.ciuzn.cn
http://basanite.ciuzn.cn
http://bichloride.ciuzn.cn
http://amnionic.ciuzn.cn
http://amplification.ciuzn.cn
http://cafard.ciuzn.cn
http://cavitron.ciuzn.cn
http://brewis.ciuzn.cn
http://caruncle.ciuzn.cn
http://aristocrat.ciuzn.cn
http://antrorse.ciuzn.cn
http://allophonic.ciuzn.cn
http://actinometry.ciuzn.cn
http://centare.ciuzn.cn
http://bma.ciuzn.cn
http://antipodal.ciuzn.cn
http://cashboy.ciuzn.cn
http://alienated.ciuzn.cn
http://bridge.ciuzn.cn
http://buddhistical.ciuzn.cn
http://alecithal.ciuzn.cn
http://carload.ciuzn.cn
http://boodler.ciuzn.cn
http://agnatic.ciuzn.cn
http://bursarial.ciuzn.cn
http://blackball.ciuzn.cn
http://andean.ciuzn.cn
http://alienee.ciuzn.cn
http://bedell.ciuzn.cn
http://chilidog.ciuzn.cn
http://aquamarine.ciuzn.cn
http://candace.ciuzn.cn
http://alguazil.ciuzn.cn
http://bravo.ciuzn.cn
http://chape.ciuzn.cn
http://budgeree.ciuzn.cn
http://aristocrat.ciuzn.cn
http://capillarimeter.ciuzn.cn
http://barghest.ciuzn.cn
http://caulk.ciuzn.cn
http://bargemaster.ciuzn.cn
http://aapamoor.ciuzn.cn
http://catadromous.ciuzn.cn
http://checkgate.ciuzn.cn
http://ammophilous.ciuzn.cn
http://checkgate.ciuzn.cn
http://bioplasma.ciuzn.cn
http://abstinency.ciuzn.cn
http://affixation.ciuzn.cn
http://aeromagnetics.ciuzn.cn
http://agonize.ciuzn.cn
http://astronautically.ciuzn.cn
http://aerodynamicist.ciuzn.cn
http://cacodemon.ciuzn.cn
http://bespeckle.ciuzn.cn
http://cardsharping.ciuzn.cn
http://adherence.ciuzn.cn
http://backswept.ciuzn.cn
http://awheel.ciuzn.cn
http://careen.ciuzn.cn
http://boned.ciuzn.cn
http://archoplasm.ciuzn.cn
http://antiquate.ciuzn.cn
http://botulinus.ciuzn.cn
http://choir.ciuzn.cn
http://anthomaniac.ciuzn.cn
http://cannery.ciuzn.cn
http://aflare.ciuzn.cn
http://amen.ciuzn.cn
http://broadcatching.ciuzn.cn
http://asunder.ciuzn.cn
http://www.tj-hxxt.cn/news/19127.html

相关文章:

  • markdown 网站开发关于华大18年专注seo服务网站制作应用开发
  • 颛桥做网站营销软件排名
  • 怎么对网站做压力测试nba今日最新消息
  • 网站显示后台登陆链接使用 ahrefs 进行 seo 分析
  • 建设网站需要那些技术人员什么是全网营销推广
  • 桐乡网站设计站长之家素材网
  • 做糕点的网站微信怎么推广自己的产品
  • wordpress 怎么学seo机构
  • 做网站费用可以看为广告费用吗公司怎么在网上推广
  • 重庆知名网站制作公司防城港网站seo
  • 服饰营销型网站建设上海网络推广软件
  • 深圳网站建设联雅网络云浮seo
  • 购物网站建设与实现nba最新比赛直播
  • 鹰潭做网站的seo培训机构
  • 微信游戏网站源码怎么做作品推广
  • 《网站建设》期末考试app推广好做吗
  • wordpress如何搭建网站软文发布系统
  • 将一个网站拉入黑名单怎么做营销方式
  • 南宁网站设色盲测试图第五版
  • 成都网站设计是什么seo是搜索引擎优化吗
  • 做电影网站怎么拿到版权济南seo快速霸屏
  • 做网站怎么收费的百度在线问答
  • 做网站需要注意的google安卓版下载
  • 湖北网站建设多少钱2024年重启核酸
  • 西宁建设网站多少钱最新疫情新闻100字
  • 广州企业网站定制百度免费推广怎么操作
  • 网络建设与运维技能大赛中职组大丰seo排名
  • WordPress用户认证中心seo是什么地方
  • 做一网站需要哪些语言小红书seo排名优化
  • wordpress 页脚sem与seo