html常用标签

html常用标签 元素 表示一个HTML文档的根(顶级元素),所所以它也被称为根元素。其他所有其他元素必须是此元素的后代。 可用于元素内的元素有:, <base>, <link>, <style>, <meta>, <script>, <noscript>, <command> 标题标签: <h1></h1>~<h6></h6>字体大小依次减小 段落标签:<p></p> align对齐属性值: lift: 左对齐 right: 右对齐 center: 居中 justify: 对行进行伸展,每行长度相等 换行标签: 预格式化 标签: <pre></pre> 水平线: 属性: width: 水平线宽度,像素或百分比 color: 颜色 align: 居中对齐 noshede: 水平线 无阴影 文字斜体: <i></i>,<em></em> 加粗: <b></b>,<strong></strong> 下标: 上标: 下划线: <ins></ins> 删除线:<del></del> 无序列表ul type属性值:disc圆点 square正方形 circle空心圆 有序列表ol type属性值:1数字1,2 a小写字母a,b A大写字母A,B i小写罗马字母 I大写罗马字母 定义列表dl dt定义列表项 dd列表项描述 图片标签img image.png alt用于当用户无法查看图像时,alt属性代替在图像显示在网页中 a标签 跳转到同一页面内的位置或者链接网页,邮箱 链接到网址时需要添加http <a href=";" target="(_blank空;_self自己;_top顶级;_parent父亲)或者iframe名字 " rel="noopener noreferrer">QQ</a> href用法: 1.链接的无协议写法 //qq.com,继承当前页面协议,和ifame一起用 2.#xxx锚点,不跳转页面 ?name=xxx搜索词主动添加到链接后,发起新请求 ./xxx.html 相对路径 3.javascript:alert(1)点击后运行js javascript:; 伪协议,点击后什么也不做 image.png image.png image.png image.png ifame iframe标签用于嵌套页面 frameborder="0" 去除iframe默认边框 image.png form 标签 示例 (http post请求) from表单里用提交按钮提交 提交账号密码到users <form action="users" method="post"> <input type="text" name="username"> <input type="password" name="password"> <input type="submit" value="提交"> </form> input / button 区别:是否为「空标签」 button不写type自动升级为submit按钮 submit是唯一确定from能不能提交的按钮 table 标签 用于展示数据 <table></table> 表格 <tr></tr> 行 <td></td> 单元格 <th></th> 表格头,内容加粗 居中 caption:表格标题,居中显示 带结构的表格 thead 放标题 tbody 放数据主体 tfoot 表格脚注 <p style='opacity:0'><a href='https://www.dsiab.com' style='cursor:unset'>本文章由javascript技术分享原创和收集</a></p></div></div><div class="post-footer" data-v-e0d09ea0><!----><div class="copy-desc" data-v-e0d09ea0><div data-v-e0d09ea0>本文由作者创作或收集,内容引用如有问题请联系站长处理。</div><div data-v-e0d09ea0> 转载请注明原文及出处:<a class="quote" href="https://www.dsiab.com/post/ff0645b7-872b-4622-ba25-a9012c6217a1" data-v-e0d09ea0>html常用标签</a></div></div></div><div class="postRecommend" style="display:none;" data-v-e0d09ea0><div class="common-title" data-v-a72f5a0e>推荐阅读 <i class="active-line" data-v-a72f5a0e></i></div><ul><!--[--><!--]--></ul></div><div class="comments" data-v-e0d09ea0 data-v-f2b74ff7><div class="add-comment" data-v-f2b74ff7><h3 data-v-f2b74ff7>发表评论<span style="color:gray;font-size:1rem;" data-v-f2b74ff7> (审核通过后显示评论):</span></h3><!----></div><div class="commentsList" style="display:none;" data-v-f2b74ff7><h3 style="text-align:center;" data-v-f2b74ff7>文章评论(0)</h3><!--[--><!--]--></div></div></div></div></div><div id="imageList" style="position:absolute;top:9999px;left:-9999px;" data-v-e0d09ea0><!----></div><!--]--><!--]--></div><div class="side-bar layouts-sideBar" data-v-5fb8840b data-v-e86ddcfe><ul data-v-e86ddcfe><li data-v-e86ddcfe><div class="search" data-v-e86ddcfe><!----></div></li><li data-v-e86ddcfe><div class="_oi1z2s14bx" data-v-e86ddcfe></div></li><div class="_clzacg58dkb" data-v-e86ddcfe></div><li data-v-e86ddcfe><div class="module category" data-v-e86ddcfe><div class="common-title" data-v-e86ddcfe data-v-a72f5a0e>专题推荐 <i class="active-line" data-v-a72f5a0e></i></div><!----></div></li><li data-v-e86ddcfe><div class="module" data-v-e86ddcfe><div class="common-title" data-v-e86ddcfe data-v-a72f5a0e>推荐阅读 <i class="active-line" data-v-a72f5a0e></i></div><ul data-v-e86ddcfe><!--[--><li class="li-item" data-v-e86ddcfe><div class="title" data-v-e86ddcfe><a href="/post/7ba47b22-f60e-4a4b-8b55-30cdc8d6e95e" target="_self" data-v-e86ddcfe><span class="list-index" data-v-e86ddcfe>1</span>老爸跟小叔来玩了一个星期</a></div><div class="excerpt" data-v-e86ddcfe><span class="views" data-v-e86ddcfe> 阅读:85</span><span class="views published-date" data-v-e86ddcfe> 发布时间:2024-11-13 21:54:58</span></div></li><!--]--></ul></div></li></ul></div></div><div class="home-footer" data-v-5fb8840b><div class="site-info"><div><a href="https://nuxt.com/">© 基于nuxt</a></div><div><a href="https://beian.miit.gov.cn/">粤ICP备20013202号</a></div><div><a href="/">© 2020-2024 javascript技术分享</a></div></div><!----></div></div></div><script type="application/json" id="__NUXT_DATA__" data-ssr="true">[["Reactive",1],{"data":2,"state":459,"_errors":460,"serverRendered":469,"path":470},{"IDsRz2IOoy":3,"06PyIpggrg":413,"574zKRyEAZ":422,"g3oVWSWIeZ":441,"6TfyLU9xnV":449,"7AAmuUi2f3":428},{"code":4,"msg":5,"data":6},0,"操作成功",{"result":7},[8,13,16,19,22,25,28,31,34,37,40,43,46,49,52,56,60,64,68,72,76,80,84,88,92,96,100,104,108,112,116,120,124,128,132,136,140,144,148,152,156,160,164,168,172,175,178,182,186,190,194,198,202,206,210,214,218,222,226,230,234,238,242,245,249,253,257,261,265,269,273,277,281,285,289,293,297,301,305,309,313,317,321,325,329,333,337,341,345,349,353,357,361,365,370,373,377,381,385,389,393,397,401,405,409],{"id":9,"name":10,"valid":9,"createdBy":11,"createDate":12},1,"未分类","admin","2022-01-20 23:26:35",{"id":14,"name":15,"valid":9,"createdBy":11,"createDate":12},2,"前端面试",{"id":17,"name":18,"valid":9,"createdBy":11,"createDate":12},3,"开发笔记",{"id":20,"name":21,"valid":9,"createdBy":11,"createDate":12},5,"生活笔记",{"id":23,"name":24,"valid":9,"createdBy":11,"createDate":12},7,"编程开发",{"id":26,"name":27,"valid":9,"createdBy":11,"createDate":12},8,"网络资讯",{"id":29,"name":30,"valid":9,"createdBy":11,"createDate":12},103,"育儿心得",{"id":32,"name":33,"valid":9,"createdBy":11,"createDate":12},111,"佳句精选",{"id":35,"name":36,"valid":9,"createdBy":11,"createDate":12},120,"资源分享",{"id":38,"name":39,"valid":9,"createdBy":11,"createDate":12},122,"教育考试",{"id":41,"name":42,"valid":9,"createdBy":11,"createDate":12},123,"开发教程",{"id":44,"name":45,"valid":9,"createdBy":11,"createDate":12},126,"大事记",{"id":47,"name":48,"valid":9,"createdBy":11,"createDate":12},137,"诗词鉴赏",{"id":50,"name":51,"valid":9,"createdBy":11,"createDate":12},140,"成长记录",{"id":53,"name":10,"valid":9,"createdBy":54,"createDate":55},151,"admin11","2022-08-24 22:26:29",{"id":57,"name":10,"valid":9,"createdBy":58,"createDate":59},155,"1111","2022-08-24 22:45:04",{"id":61,"name":62,"valid":9,"createdBy":58,"createDate":63},156,"123","2022-08-24 22:45:20",{"id":65,"name":10,"valid":9,"createdBy":66,"createDate":67},157,"admin111","2022-08-26 10:48:31",{"id":69,"name":70,"valid":9,"createdBy":11,"createDate":71},160,"网络文学","2022-08-27 21:27:36",{"id":73,"name":10,"valid":9,"createdBy":74,"createDate":75},161,"aasun","2022-08-30 16:16:01",{"id":77,"name":10,"valid":9,"createdBy":78,"createDate":79},162,"fadf","2022-09-04 13:23:58",{"id":81,"name":82,"valid":9,"createdBy":11,"createDate":83},168,"家乡动态","2022-09-13 22:33:10",{"id":85,"name":10,"valid":9,"createdBy":86,"createDate":87},169,"cbyniyga","2022-09-14 11:23:03",{"id":89,"name":10,"valid":9,"createdBy":90,"createDate":91},170,"masks","2022-09-14 13:24:23",{"id":93,"name":10,"valid":9,"createdBy":94,"createDate":95},171,"123123","2022-09-14 19:29:18",{"id":97,"name":10,"valid":9,"createdBy":98,"createDate":99},172,"qwer","2022-09-15 14:35:09",{"id":101,"name":10,"valid":9,"createdBy":102,"createDate":103},173,"qwer1123","2022-09-16 20:16:47",{"id":105,"name":10,"valid":9,"createdBy":106,"createDate":107},174,"aaaa","2022-09-21 10:25:36",{"id":109,"name":10,"valid":9,"createdBy":110,"createDate":111},175,"arthur","2022-09-29 15:46:20",{"id":113,"name":10,"valid":9,"createdBy":114,"createDate":115},180,"jiangmeng","2022-10-19 09:49:28",{"id":117,"name":10,"valid":9,"createdBy":118,"createDate":119},183,"test1","2022-10-27 13:32:49",{"id":121,"name":10,"valid":9,"createdBy":122,"createDate":123},184,"flower","2022-11-02 23:46:28",{"id":125,"name":10,"valid":9,"createdBy":126,"createDate":127},185,"test12","2022-11-21 17:13:44",{"id":129,"name":10,"valid":9,"createdBy":130,"createDate":131},186,"1111111","2022-11-21 22:40:22",{"id":133,"name":10,"valid":9,"createdBy":134,"createDate":135},187,"123456","2022-11-21 22:40:55",{"id":137,"name":10,"valid":9,"createdBy":138,"createDate":139},188,"23423","2022-11-26 16:07:57",{"id":141,"name":10,"valid":9,"createdBy":142,"createDate":143},189,"adlfll","2022-11-26 16:09:56",{"id":145,"name":10,"valid":9,"createdBy":146,"createDate":147},190,"adsf","2022-11-26 16:13:00",{"id":149,"name":10,"valid":9,"createdBy":150,"createDate":151},191,"test111","2022-11-26 16:14:12",{"id":153,"name":10,"valid":9,"createdBy":154,"createDate":155},193,"u1223","2022-12-02 08:37:06",{"id":157,"name":10,"valid":9,"createdBy":158,"createDate":159},195,"ferromagnetic","2022-12-15 15:54:46",{"id":161,"name":10,"valid":9,"createdBy":162,"createDate":163},196,"23444","2022-12-28 15:37:38",{"id":165,"name":10,"valid":9,"createdBy":166,"createDate":167},198,"wer234","2023-02-03 22:56:03",{"id":169,"name":10,"valid":9,"createdBy":170,"createDate":171},199,"234234","2023-02-03 22:57:12",{"id":173,"name":10,"valid":9,"createdBy":138,"createDate":174},200,"2023-02-03 22:57:30",{"id":176,"name":10,"valid":9,"createdBy":54,"createDate":177},201,"2023-02-13 21:11:11",{"id":179,"name":180,"valid":9,"createdBy":11,"createDate":181},202,"光影分享","2023-02-16 23:00:38",{"id":183,"name":184,"valid":9,"createdBy":11,"createDate":185},203,"佳文收藏","2023-03-04 20:45:25",{"id":187,"name":188,"valid":9,"createdBy":11,"createDate":189},205,"其他","2023-04-19 23:08:33",{"id":191,"name":10,"valid":9,"createdBy":192,"createDate":193},206,"234234234","2023-05-18 22:01:00",{"id":195,"name":10,"valid":9,"createdBy":196,"createDate":197},207,"admin33","2023-05-18 22:02:38",{"id":199,"name":10,"valid":9,"createdBy":200,"createDate":201},208,"admin333333","2023-05-18 22:05:03",{"id":203,"name":10,"valid":9,"createdBy":204,"createDate":205},209,"adminvvvvvv","2023-05-18 22:08:50",{"id":207,"name":10,"valid":9,"createdBy":208,"createDate":209},210,"23fewfwefvv","2023-05-18 22:14:13",{"id":211,"name":10,"valid":9,"createdBy":212,"createDate":213},211,"233fwefwe","2023-05-18 22:15:30",{"id":215,"name":10,"valid":9,"createdBy":216,"createDate":217},212,"adfasdfasdf","2023-05-18 22:41:49",{"id":219,"name":10,"valid":9,"createdBy":220,"createDate":221},213,"23423eeee","2023-05-18 22:44:12",{"id":223,"name":10,"valid":9,"createdBy":224,"createDate":225},214,"erwdfzxc","2023-05-18 22:47:18",{"id":227,"name":10,"valid":9,"createdBy":228,"createDate":229},215,"夏季男女对表","2023-05-23 15:24:02",{"id":231,"name":10,"valid":9,"createdBy":232,"createDate":233},219,"zhl77","2023-06-18 16:57:27",{"id":235,"name":10,"valid":9,"createdBy":236,"createDate":237},220,"admin123456","2023-06-26 16:56:23",{"id":239,"name":10,"valid":9,"createdBy":240,"createDate":241},222,"youyou","2023-08-10 17:07:19",{"id":243,"name":10,"valid":9,"createdBy":58,"createDate":244},223,"2023-08-17 11:24:23",{"id":246,"name":10,"valid":9,"createdBy":247,"createDate":248},224,"809630306","2023-08-19 13:01:41",{"id":250,"name":10,"valid":9,"createdBy":251,"createDate":252},225,"test333","2023-08-19 15:18:40",{"id":254,"name":10,"valid":9,"createdBy":255,"createDate":256},226,"demo","2023-08-21 15:28:44",{"id":258,"name":10,"valid":9,"createdBy":259,"createDate":260},227,"1234569","2023-08-28 10:58:32",{"id":262,"name":10,"valid":9,"createdBy":263,"createDate":264},228,"qqqq","2023-09-18 17:50:40",{"id":266,"name":10,"valid":9,"createdBy":267,"createDate":268},229,"test123","2023-09-20 11:23:40",{"id":270,"name":10,"valid":9,"createdBy":271,"createDate":272},231,"zmx123","2023-10-02 16:03:50",{"id":274,"name":10,"valid":9,"createdBy":275,"createDate":276},232,"yinquan","2023-10-10 11:58:33",{"id":278,"name":10,"valid":9,"createdBy":279,"createDate":280},233,"1354541","2023-10-10 14:35:53",{"id":282,"name":10,"valid":9,"createdBy":283,"createDate":284},234,"","2023-10-23 21:09:51",{"id":286,"name":10,"valid":9,"createdBy":287,"createDate":288},235,"asdf","2023-10-23 21:10:26",{"id":290,"name":10,"valid":9,"createdBy":291,"createDate":292},236,"imwujianhao@163.com","2023-10-24 10:24:32",{"id":294,"name":10,"valid":9,"createdBy":295,"createDate":296},237,"ls123456","2023-10-26 21:59:55",{"id":298,"name":10,"valid":9,"createdBy":299,"createDate":300},238,"18165042571","2023-11-06 11:05:45",{"id":302,"name":10,"valid":9,"createdBy":303,"createDate":304},239,"gsoft","2023-11-18 07:44:43",{"id":306,"name":10,"valid":9,"createdBy":307,"createDate":308},240,"tststs","2023-12-10 20:53:50",{"id":310,"name":10,"valid":9,"createdBy":311,"createDate":312},241,"骑牛上班","2023-12-27 14:20:26",{"id":314,"name":315,"valid":9,"createdBy":11,"createDate":316},242,"影视分享","2024-01-02 21:50:02",{"id":318,"name":319,"valid":9,"createdBy":11,"createDate":320},243,"音乐分享","2024-01-02 21:50:08",{"id":322,"name":10,"valid":9,"createdBy":323,"createDate":324},244,"11112222","2024-01-09 16:23:29",{"id":326,"name":10,"valid":9,"createdBy":327,"createDate":328},245,"ssdate","2024-01-17 14:38:21",{"id":330,"name":10,"valid":9,"createdBy":331,"createDate":332},246,"admin666","2024-01-21 15:40:53",{"id":334,"name":10,"valid":9,"createdBy":335,"createDate":336},247,"test51","2024-03-02 14:07:11",{"id":338,"name":10,"valid":9,"createdBy":339,"createDate":340},249,"bf斯金纳","2024-03-14 21:53:53",{"id":342,"name":10,"valid":9,"createdBy":343,"createDate":344},250,"testyear","2024-04-12 21:10:42",{"id":346,"name":347,"valid":9,"createdBy":11,"createDate":348},251,"stable diffuson","2024-04-13 23:00:11",{"id":350,"name":351,"valid":9,"createdBy":11,"createDate":352},252,"每日一图","2024-04-17 21:49:58",{"id":354,"name":355,"valid":9,"createdBy":11,"createDate":356},253,"AI问答","2024-04-23 23:13:47",{"id":358,"name":10,"valid":9,"createdBy":359,"createDate":360},254,"hy9810","2024-04-30 11:23:55",{"id":362,"name":10,"valid":9,"createdBy":363,"createDate":364},256,"444444","2024-05-25 14:47:09",{"id":366,"name":367,"valid":9,"createdBy":368,"createDate":369},257,"我是分类","test","2024-06-04 16:51:00",{"id":371,"name":10,"valid":9,"createdBy":368,"createDate":372},258,"2024-06-10 13:58:35",{"id":374,"name":375,"valid":9,"createdBy":368,"createDate":376},260,"ert","2024-06-10 14:12:08",{"id":378,"name":10,"valid":9,"createdBy":379,"createDate":380},261,"testing","2024-06-19 00:08:44",{"id":382,"name":10,"valid":9,"createdBy":383,"createDate":384},262,"weicong","2024-06-24 21:28:28",{"id":386,"name":387,"valid":9,"createdBy":368,"createDate":388},263,"测试1111","2024-06-26 15:29:56",{"id":390,"name":10,"valid":9,"createdBy":391,"createDate":392},264,"1234","2024-07-08 22:35:39",{"id":394,"name":10,"valid":9,"createdBy":395,"createDate":396},265,"adminadmin","2024-08-07 14:29:16",{"id":398,"name":399,"valid":9,"createdBy":11,"createDate":400},266,"玩车日记","2024-10-13 23:10:34",{"id":402,"name":10,"valid":9,"createdBy":403,"createDate":404},267,"1122","2024-10-31 20:24:40",{"id":406,"name":10,"valid":9,"createdBy":407,"createDate":408},268,"admin_sw","2024-11-01 14:00:32",{"id":410,"name":10,"valid":9,"createdBy":411,"createDate":412},269,"mundane","2024-11-22 15:23:28",{"code":4,"msg":5,"data":414},{"menuList":415,"siteUrl":416,"beianNo":417,"carouselUrl":418,"siteName":419,"carouselEnable":420,"siteDesc":421},"[{\"menuName\":\"首页\",\"menuUrl\":\"/\",\"enabled\":\"Y\",\"imgUrl\":\"首页\",\"desc\":\"/\"},{\"menuName\":\"网站导航\",\"menuUrl\":\"/nav\",\"enabled\":\"Y\",\"imgUrl\":\"网站导航\",\"desc\":\"/nav\"},{\"menuName\":\"关于\",\"menuUrl\":\"/post/13\",\"enabled\":\"Y\",\"imgUrl\":\"关于\",\"desc\":\"/post/13\"},{\"menuName\":\"升级日志\",\"menuUrl\":\"https://gitee.com/wilkwo/nuxt-web-plus/releases\",\"enabled\":\"Y\",\"imgUrl\":\"更新日志\",\"desc\":\"https://gitee.com/wilkwo/nuxt-web-plus/releases\"},{\"menuName\":\"优乐购\",\"menuUrl\":\"/tbk\",\"enabled\":\"N\"},{\"menuName\":\"w3c教程\",\"menuUrl\":\"https://source.dsiab.com/course/w3c\",\"enabled\":\"N\"},{\"menuName\":\"react教程\",\"menuUrl\":\"https://source.dsiab.com/course/react/react.docschina.org/index.html\",\"enabled\":\"N\"},{\"menuName\":\"mysql教程\",\"menuUrl\":\"https://source.dsiab.com/course/mysql/\",\"enabled\":\"N\"},{\"menuName\":\"AI助手\",\"menuUrl\":\"http://qw.dsiab.com/chat/share?shareId=ozvf9ai2r0juxiv0tyw6onal\",\"enabled\":\"N\"},{\"menuName\":\"AI绘画\",\"menuUrl\":\"http://sd.dsiab.com\",\"enabled\":\"N\"}]","https://www.dsiab.com","粤ICP备20013202号","[{\"imgUrl\":\"https://source.dsiab.com/upload/0913ca3e-fb3c-4120-98fe-62bd86cf9b42.jpeg\",\"desc\":\"如何通过pm2部署nuxt3应用?\",\"url\":\"https://www.dsiab.com/post/d435197f-f03f-481b-9c4a-f33d2875d317\"},{\"imgUrl\":\"https://source.dsiab.com/upload/cf172b78-9a2b-4ed3-8ae8-18ecaf612d98.jpg\",\"desc\":\"scrollIntoView 方法不生效如何解决\",\"url\":\"https://www.dsiab.com/post/c8df67f1-c2da-4b27-8659-1cb8ef1bd28d\"},{\"imgUrl\":\"https://source.dsiab.com/upload/cf172b78-9a2b-4ed3-8ae8-18ecaf612d98.jpg\",\"desc\":\"在Vue项目中引入tinymce富文本编辑器\",\"url\":\"https://www.dsiab.com/post/6c7ebba5-2b95-4ef4-baf6-2a8479746432\"},{\"imgUrl\":\"https://source.dsiab.com/upload/cf172b78-9a2b-4ed3-8ae8-18ecaf612d98.jpg\",\"desc\":\"宝塔面板如何部署nuxt项目\",\"url\":\"https://www.dsiab.com/post/3501\"}]","javascript技术分享","N","2020-2023 javascript技术分享",{"code":4,"msg":5,"data":423},{"result":424},[425,431,434,438],{"id":426,"name":427,"postId":428,"valid":429,"topicId":428,"createDate":430},9,"从零搭建博客",null,"1","2023-05-29 00:08:30",{"id":26,"name":432,"postId":428,"valid":429,"topicId":428,"createDate":433},"前端开发","2022-10-29 18:53:22",{"id":435,"name":436,"postId":428,"valid":429,"topicId":428,"createDate":437},4,"javascript教程","2022-03-02 17:32:45",{"id":9,"name":439,"postId":428,"valid":429,"topicId":428,"createDate":440},"vue3+ts教程","2022-03-01 22:35:34",{"code":4,"msg":5,"data":442},[443],{"title":444,"content":428,"createDate":445,"cate":20,"id":446,"uid":447,"page":4,"pageSize":4,"views":448,"comments":4,"wordsNum":4,"cateName":428,"keywords":428,"createBy":428,"nickname":428,"orderBy":428,"order":428,"coverImageUrl":428},"老爸跟小叔来玩了一个星期","2024-11-13 21:54:58",50492,"7ba47b22-f60e-4a4b-8b55-30cdc8d6e95e",85,{"code":4,"msg":5,"data":450},{"result":451},{"title":452,"content":453,"createDate":454,"cate":23,"id":455,"uid":456,"page":4,"pageSize":4,"views":457,"comments":4,"wordsNum":4,"cateName":24,"keywords":428,"createBy":11,"nickname":458,"orderBy":428,"order":428,"coverImageUrl":428},"html常用标签","html常用标签\n\u003Chtml>\u003Chtml> 元素 表示一个HTML文档的根(顶级元素),所所以它也被称为根元素。其他所有其他元素必须是此元素的后代。\n可用于\u003Chead>元素内的元素有:\u003Ctitle>, \u003Cbase>, \u003Clink>, \u003Cstyle>, \u003Cmeta>, \u003Cscript>, \u003Cnoscript>, \u003Ccommand>\n标题标签: \u003Ch1>\u003C/h1>~\u003Ch6>\u003C/h6>字体大小依次减小\n段落标签:\u003Cp>\u003C/p>\nalign对齐属性值:\nlift: 左对齐 right: 右对齐 center: 居中\njustify: 对行进行伸展,每行长度相等\n换行标签:\n预格式化 标签: \u003Cpre>\u003C/pre>\n水平线:\n属性:\nwidth: 水平线宽度,像素或百分比\ncolor: 颜色 align: 居中对齐\nnoshede: 水平线 无阴影\n文字斜体: \u003Ci>\u003C/i>,\u003Cem>\u003C/em>\n加粗: \u003Cb>\u003C/b>,\u003Cstrong>\u003C/strong>\n下标: 上标:\n下划线: \u003Cins>\u003C/ins> 删除线:\u003Cdel>\u003C/del>\n无序列表ul\ntype属性值:disc圆点 square正方形 circle空心圆\n有序列表ol\ntype属性值:1数字1,2 a小写字母a,b A大写字母A,B i小写罗马字母 I大写罗马字母\n定义列表dl\ndt定义列表项 dd列表项描述\n图片标签img\nimage.png\nalt用于当用户无法查看图像时,alt属性代替在图像显示在网页中\na标签\n跳转到同一页面内的位置或者链接网页,邮箱\n链接到网址时需要添加http\n\u003Ca href=\";\" target=\"(_blank空;_self自己;_top顶级;_parent父亲)或者iframe名字 \" rel=\"noopener noreferrer\">QQ\u003C/a>\nhref用法:\n1.链接的无协议写法 //qq.com,继承当前页面协议,和ifame一起用\n2.#xxx锚点,不跳转页面 ?name=xxx搜索词主动添加到链接后,发起新请求\n./xxx.html 相对路径\n3.javascript:alert(1)点击后运行js javascript:; 伪协议,点击后什么也不做\nimage.png\nimage.png\nimage.png\nimage.png\nifame\niframe标签用于嵌套页面\nframeborder=\"0\" 去除iframe默认边框\nimage.png\nform 标签\n示例 (http post请求) from表单里用提交按钮提交\n提交账号密码到users\n\u003Cform action=\"users\" method=\"post\">\n\u003Cinput type=\"text\" name=\"username\">\n\u003Cinput type=\"password\" name=\"password\">\n\u003Cinput type=\"submit\" value=\"提交\">\n\u003C/form>\ninput / button\n区别:是否为「空标签」\nbutton不写type自动升级为submit按钮\nsubmit是唯一确定from能不能提交的按钮\ntable 标签\n用于展示数据\n\u003Ctable>\u003C/table> 表格 \u003Ctr>\u003C/tr> 行\n\u003Ctd>\u003C/td> 单元格\n\u003Cth>\u003C/th> 表格头,内容加粗 居中\ncaption:表格标题,居中显示\n带结构的表格\nthead 放标题 tbody 放数据主体 tfoot 表格脚注\n\u003Cp style='opacity:0'>\u003Ca href='https://www.dsiab.com' style='cursor:unset'>本文章由javascript技术分享原创和收集\u003C/a>\u003C/p>","2020-04-12 17:47:32",1188,"ff0645b7-872b-4622-ba25-a9012c6217a1",621,"图恩",{},{"IDsRz2IOoy":428,"06PyIpggrg":428,"574zKRyEAZ":428,"g3oVWSWIeZ":428,"6TfyLU9xnV":428,"7AAmuUi2f3":461},["NuxtError",462],{"message":463,"statusCode":464,"statusMessage":465,"data":466}," (500 Internal Server Error (https://admin.dsiab.com/portal-service/pages/getRecommendBySameTags?id=ff0645b7-872b-4622-ba25-a9012c6217a1))",500,"Internal Server Error",{"timestamp":467,"status":464,"error":465,"path":468},"2024-11-23T21:47:48.539+00:00","/pages/getRecommendBySameTags",true,"/post/ff0645b7-872b-4622-ba25-a9012c6217a1"]</script><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="module" src="/_nuxt/entry.86e33eb6.js" crossorigin></script></body> </html>