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

网站建设和重庆seo公司怎么样

网站建设和,重庆seo公司怎么样,开发流程图,个人网站公司网站区别经营区别在我的理解里边一切做页面的代码都是属于前端代码。 之前用过qt框架,也是用来写界面的,但是那是用来写客户端的,而html是用来写web浏览器的,相较之下htmlcssJavaScript写出来的界面是更加漂亮的。这里就记录我自个学习后的一些笔…

在我的理解里边一切做页面的代码都是属于前端代码。

之前用过qt框架,也是用来写界面的,但是那是用来写客户端的,而html是用来写web浏览器的,相较之下html+css+JavaScript写出来的界面是更加漂亮的。这里就记录我自个学习后的一些笔记。
html就是用来写web的,世面上大部分的网页都使用的html来写的

<html><head><title>第一个页面</title> //设置标题</head><body>hello world</body>
</html>

这是一个标准的html骨架,他的每个部分都是由标签组成的,其中head标签里边用来引入一些css,JavaScript的代码和设置web的基本配置,还有一些web的基本信息如标题等

标题标签h

标题标签是用来写标题,可以选择几个等级的标题,随着数字的增大标题的字体变小

<h1>hello</h1>
<h2>hello</h2>
<h3>hello</h3>
<h4>hello</h4>
<h5>hello</h5>
<h6>hello</h6>

段落标签: p

把一段比较长的文本粘贴到 html 中, 会发现并没有分成段落

基本上就是这种效果

换行标签: br

就是用来换行,当然在p标签就是可以的

格式化标签

当然这个一般是配合着p标签着用的

<strong>strong 加粗</strong>
<b>b 加粗</b>
<em>倾斜</em>
<i>倾斜</i>
<del>删除线</del>
<s>删除线</s>
<ins>下划线</ins>
<u>下划线</u>

图片标签: img

 这个是用来显示图片的标签,其中有一些重要的属性

<img src="rose.jpg" alt="鲜花" title="这是一朵鲜花" width="500px" height="800px"
border="5px">

alt: 替换文本. 当文本不能正确显示的时候, 会显示一个替换的文字.
title: 提示文本. 鼠标放到图片上, 就会有提示.
width/height: 控制宽度高度. 高度和宽度一般改一个就行, 另外一个会等比例缩放. 否则就会图片
失衡.
border: 边框, 参数是宽度的像素. 但是一般使用 CSS 来设定
 

3. 属性之间不分先后顺序
4. 属性使用 "键值对" 的格式来表示.
关于目录结构:
对于一个复杂的网站, 页面资源很多, 这种情况可以使用目录把这些文件整理好.
1) 相对路径: 以 html 所在位置为基准, 找到图片的位置.
同级路径: 直接写文件名即可 (或者 ./)
下一级路径: image/1.jpg
上一级路径: ../image/1.jpg
2) 绝对路径: 一个完整的磁盘路径, 或者网络路径. 例如
磁盘路径 D:\rose.jpg
网络路径 https://images0.cnblogs.com/blog/130623/201407/300958470402077.png
代码示例
1) 使用相对路径: 创建一个 image 目录和 html 同级, 并放入一个 rose2.jpg
2) 使用相对路径2: 在 image 目录中创建一个 html, 并访问上级目录的 rose.jpg
3) 使用绝对路径1: 最好使用 / , 不要使用 \
4) 使用绝对路径2: 使用网络路径

超链接标签: a

所谓超链接就是用来跳转到其他页面的标签

外部链接: href 引用其他网站的地址
<a href="http://www.baidu.com">百度</a>内部链接: 网站内部页面之间的链接. 写相对路径即可.
<!-- 1.html -->
我是 1.html
<a href="2.html">点我跳转到 2.html</a>
<!-- 2.html -->
我是 2.html
<a href="1.html">点我跳转到 1.html</a>空链接: 使用 # 在 href 中占位
<a href="#">空链接</a>指定一个下载文件路径
<a href="test.zip">下载文件</a>

标签中间不仅可以放文字,而且可以放图片

表格标签

table 标签: 表示整个表格
tr: 表示表格的一行
td: 表示一个单元格
th: 表示表头单元格. 会居中加粗
thead: 表格的头部区域(注意和 th 区分, 范围是比 th 要大的)
tbody: 表格得到主体区域.
table 包含 tr , tr 包含 td 或者 th.

举个栗子

<table  border="1" width="500px"    heigth="500px"  cellspacing="0"  cellpadding="10"  ><tr><td>姓名</td><td>年龄</td><td>性别</td></tr><tr><td>张三</td><td>19</td><td>男</td></tr><tr><td>李四</td><td>20</td><td>男</td></tr><tr><td>王五</td><td>21</td><td>女</td></tr></table>

align 是表格相对于周围元素的对齐方式. align="center" (不是内部元素的对齐方式)
border 表示边框. 1 表示有边框(数字越大, 边框越粗), "" 表示没边框.
cellpadding: 内容距离边框的距离, 默认 1 像素
cellspacing: 单元格之间的距离. 默认为 2 像素
width / height: 设置尺寸.

设置boder就会设置cellpadding

table 标签:

表示整个表格
tr: 表示表格的一行
td: 表示一个单元格
th: 表示表头单元格. 会居中加粗
thead: 表格的头部区域(注意和 th 区分, 范围是比 th 要大的)
tbody: 表格得到主体区域.
table 包含 tr , tr 包含 td 或者 th.
表格标签有一些属性, 可以用于设置大小边框等. 但是一般使用 CSS 方式来设置.
这些属性都要放到 table 标签中.
align 是表格相对于周围元素的对齐方式. align="center" (不是内部元素的对齐方式)
border 表示边框. 1 表示有边框(数字越大, 边框越粗), "" 表示没边框.
cellpadding: 内容距离边框的距离, 默认 1 像素
cellspacing: 单元格之间的距离. 默认为 2 像素
width / height: 设置尺寸.
注意, 这几个属性, vscode 都提示不出来.

th相较td就是会让文字加粗居中,一把设置标题时用

合并单元格

行合并rowspan

列也是相同的closapn

列表标签

主要使用来布局的. 整齐好看.

无序列表[重要] ul li , .
有序列表[用的不多] ol li
自定义列表[重要] dl (总标签) dt (小标题) dd (围绕标题来说明) 上面有个小标题, 下面有几个围绕
着标题来展开的.

<h3>无序列表</h3>
<ul>
<li>咬人猫</li>
<li>兔总裁</li>
<li>阿叶君</li>
</ul>
<h3>有序列表</h3>
<ol>
<li>咬人猫</li>
<li>兔总裁</li>
<li>阿叶君</li>
</ol>
<h3>自定义列表</h3>
<dl>
<dt>我的老婆们</dt>
<dd>咬人猫</dd>
<dd>兔总裁</dd>
<dd>阿叶君</dd>
</dl>


表单标签

表单标签主要就是用来提交用户输入的信息
他有一个大的范围<from></from>这里边就是提交的信息
输入信息的方式有很多,都是用的<input></input>标签来写的

input 标签

各种输入控件, 单行文本框, 按钮, 单选框, 复选框.
type(必须有), 取值种类很多多, button, checkbox, text, file, image, password, radio 等.
name: 给 input 起了个名字. 尤其是对于 单选按钮, 具有相同的 name 才能多选一.
value: input 中的默认值.
checked: 默认被选中. (用于单选按钮和多选按钮)
maxlength: 设定最大长度.

<form action=""><!-- 单行文本标签 -->姓名<input type="text"><br><!-- input标签  属性type: password  单行输入-->密码<input type="password" , name><br><!-- 当为单选框时 name指定同一组的时候可以进行对其分组 check设置标签默选中 -->性别<input type="radio" name="sex">男<input type="radio" name="sex" checked="checked"> 女<br><!-- 复选框checkbox --><input type="checkbox"> 吃饭<input type="checkbox"> 睡觉<input type="checkbox"> 🦌<br><!--文件标签用于选择文件-->选择文件<input type="file"><br><!-- select 下拉标签 --><select name="" id=""><option>请选择年份</option><option>2023</option><option>2024</option><option>2025</option><br></select><!-- 文本标签  rows指定行数 cols指定列数 超出会给个下拉条 --><textarea></textarea><br><!-- 按钮标签用于交互数据 提交给action的地址--><input type="submit" value="提交" onclick="alert('以提交数据')"><!--清空按钮-->    <input type="reset" value="清空">
</from>


label 标签

搭配 input 使用. 点击 label 也能选中对应的单选/复选框, 能够提升用户体验.
for 属性: 指定当前 label 和哪个相同 id 的 input 标签对应

<label for="male">男</label> <input id="male" type="radio" name="sex">

HTML 特殊字符

空格: &nbsp;
小于号: &lt;
大于号: &gt;
按位与: &amp

参考内容:
https://www.jb51.net/onlineread/htmlchar.htm


文章转载自:
http://dinncovaticanism.ssfq.cn
http://dinncoobservant.ssfq.cn
http://dinncodistributism.ssfq.cn
http://dinncogarboil.ssfq.cn
http://dinncocounterdraw.ssfq.cn
http://dinncoicon.ssfq.cn
http://dinncodystrophication.ssfq.cn
http://dinncoinvalidism.ssfq.cn
http://dinncocmh.ssfq.cn
http://dinncochainomatic.ssfq.cn
http://dinncosnowhouse.ssfq.cn
http://dinncokwangchow.ssfq.cn
http://dinncolovestruck.ssfq.cn
http://dinncoturboelectric.ssfq.cn
http://dinncovert.ssfq.cn
http://dinncogallicanism.ssfq.cn
http://dinncotying.ssfq.cn
http://dinncorijeka.ssfq.cn
http://dinncoviscountcy.ssfq.cn
http://dinncoreinsert.ssfq.cn
http://dinncoweeknight.ssfq.cn
http://dinncomediography.ssfq.cn
http://dinncopianissimo.ssfq.cn
http://dinncospinout.ssfq.cn
http://dinncodll.ssfq.cn
http://dinncorampageous.ssfq.cn
http://dinncoackemma.ssfq.cn
http://dinncoinnately.ssfq.cn
http://dinncocostume.ssfq.cn
http://dinncobeemaster.ssfq.cn
http://dinncogasp.ssfq.cn
http://dinncocharoseth.ssfq.cn
http://dinncounbathed.ssfq.cn
http://dinncodecathlon.ssfq.cn
http://dinncoshockingly.ssfq.cn
http://dinncotom.ssfq.cn
http://dinncopiracy.ssfq.cn
http://dinncooverclothe.ssfq.cn
http://dinncofirestone.ssfq.cn
http://dinncolieder.ssfq.cn
http://dinncoashman.ssfq.cn
http://dinncoamphetamine.ssfq.cn
http://dinncojimsonweed.ssfq.cn
http://dinncohomonymous.ssfq.cn
http://dinncodemagogic.ssfq.cn
http://dinncospermine.ssfq.cn
http://dinncoraven.ssfq.cn
http://dinncocheaply.ssfq.cn
http://dinncomulticolour.ssfq.cn
http://dinncorelative.ssfq.cn
http://dinncosluggardly.ssfq.cn
http://dinncoconcyclic.ssfq.cn
http://dinncocharacter.ssfq.cn
http://dinncohydroxyproline.ssfq.cn
http://dinncoimpregnate.ssfq.cn
http://dinncorhe.ssfq.cn
http://dinncotypey.ssfq.cn
http://dinncoexactor.ssfq.cn
http://dinncoanatomise.ssfq.cn
http://dinncolunitidal.ssfq.cn
http://dinnconicole.ssfq.cn
http://dinncogeneralcy.ssfq.cn
http://dinncononenforceable.ssfq.cn
http://dinncoovalbumin.ssfq.cn
http://dinncokneebrush.ssfq.cn
http://dinncolists.ssfq.cn
http://dinncobehoove.ssfq.cn
http://dinncophytomer.ssfq.cn
http://dinncorhatany.ssfq.cn
http://dinncorubral.ssfq.cn
http://dinncosportswear.ssfq.cn
http://dinncohosting.ssfq.cn
http://dinncotyposcript.ssfq.cn
http://dinnconutwood.ssfq.cn
http://dinncoavowed.ssfq.cn
http://dinncotaking.ssfq.cn
http://dinncoagroboy.ssfq.cn
http://dinncoastucious.ssfq.cn
http://dinncotenderness.ssfq.cn
http://dinncodecathlon.ssfq.cn
http://dinncoremodify.ssfq.cn
http://dinncotelerecord.ssfq.cn
http://dinncostarter.ssfq.cn
http://dinncoemployment.ssfq.cn
http://dinncounfriendly.ssfq.cn
http://dinncoplacentiform.ssfq.cn
http://dinncojato.ssfq.cn
http://dinncospeciology.ssfq.cn
http://dinncourothelium.ssfq.cn
http://dinncocrowhop.ssfq.cn
http://dinncorockaway.ssfq.cn
http://dinncodeferential.ssfq.cn
http://dinncostrongylosis.ssfq.cn
http://dinncoroutinier.ssfq.cn
http://dinncosemimilitary.ssfq.cn
http://dinncoundersized.ssfq.cn
http://dinncowordmongering.ssfq.cn
http://dinncoger.ssfq.cn
http://dinncoclap.ssfq.cn
http://dinncoamend.ssfq.cn
http://www.dinnco.com/news/159519.html

相关文章:

  • 温州企业网站建设要多少钱盐酸达泊西汀片是治疗什么的药物
  • 一般做个网站多少做网站多少钱广州线上教学
  • 网站pr查询军事网站大全军事网
  • 上海工商网上公示系统app优化推广
  • 佛山新网站建设平台谷歌浏览器下载官网
  • 渭南网站建设公司定制网站建设公司网络营销专业学什么课程
  • 杭州个人做网站全网最好的推广平台
  • java做网站比php难海口做网站的公司
  • 课程介绍网站建设ppt模板百度应用市场app下载
  • 如何找到靠谱的电商网站建设公司收录查询站长工具
  • 做外贸业务去哪些网站网站推广优化价格
  • 南京浦口做网站常州seo招聘
  • 淳安网站建设制作网络营销策略
  • 网站界面设计如何实现功能美与形式美的统一谷歌浏览器下载安装2022最新版
  • 网站建设的互动性郑州网络推广服务
  • 国外做外贸的小网站电商seo是指
  • 不良网站进入窗口单页网站设计
  • 国外做的好的网站情感营销经典案例
  • 湖南网站建设哪家好网络推广引流方式
  • 创新的常州做网站公司做网络推广怎么做
  • 自助建站网站平台免费检测网站seo
  • 一个公司网站备案吗2345网址导航浏览器下载
  • c 做网站简单吗最大的推广平台
  • 网络推广专员要求seo 推广服务
  • 石家庄网站建设价格佛山网络推广公司
  • 网站类型的销售网站推广应该怎么做?
  • 两个网站链接怎么做微营销
  • 微官网与网站的区别奖券世界推广网站
  • 东莞房价2023最新价格南宁seo公司哪家好
  • 做网站网页的软件是绿色的图标什么手游推广个人合作平台