随笔分类 -  H5

2021/12/15 【018】【019】【020】【021】input 元素:type属性:22个值
摘要:【018】 input 元素:type 属性 可以有 22 个不同的值:text、password、button、submit、reset、radio、checkbox、time、date、month、week、datetime-local、email、tel、search、url、color、fi 阅读全文

posted @ 2021-12-15 13:25 黑泥坚持量变 阅读(960) 评论(0) 推荐(0)

2021/12/07 【017】 label标签,fieldset标签,legend标签 ,select标签 ,option标签 ,optgroup 标签
摘要:0. label 标签 1)在 label 标签内点击文本,光标就会自动聚焦到它后面对应的 input 标签中。 <label>你叫什么名字:<input type="text" name="name"></label><br><br> <label>你是不是**:<input type="text 阅读全文

posted @ 2021-12-07 17:44 黑泥坚持量变 阅读(204) 评论(0) 推荐(0)

2021/10/21 【016】 form标签:autocomplete属性,target属性,value属性,autofocus属性,disabled属性,readonly属性
摘要:16.1 自动填充 autocomplete 属性 <form action="welcome.php" method="post" autocomplete="off"> 你叫什么名字:<input type="text" name="name"><br><br> 你是不是基佬:<input ty 阅读全文

posted @ 2021-10-21 18:05 黑泥坚持量变 阅读(91) 评论(0) 推荐(0)

2021/10/21 表单:form标签,input标签,button标签
摘要:15.1表单 form标签,input,button 跟用户进行交流的交互的行为,需要使用表单来实现。表单,是 HTML 中获取用户输入的手段。 通过 form 元素的 action 属性指定服务器处理表单的脚本文件。如果该属性被省略,那么默认就会被设置为当前页面处理表单。 <body> <form 阅读全文

posted @ 2021-10-21 14:51 黑泥坚持量变 阅读(76) 评论(0) 推荐(0)

2021/10/18 table:tr标签,th标签,td标签,caption标签,thead标签,tbody标签,tfoot标签,colgroup标签,col标签
摘要:13.1 表格 tr:table row; th:table header cell; td:table date cell <tr> <th>外号</th> <th>原名</th> <th>特长</th> <th>照片</th> </tr> <tr> <th>美国队长</th> <td>史蒂芬·罗 阅读全文

posted @ 2021-10-18 16:53 黑泥坚持量变 阅读(479) 评论(0) 推荐(0)

2021/10/14 ul标签,ol标签,列表嵌套,dl 标签,dt 标签,dd标签
摘要:12.0 无序列表(Unordered List)和有序列表(Ordered List) ul 标签: <ul> <li>咖啡</li> <li>茶</li> <li>牛奶</li> </ul> CSS属性:1)list-style-type .disc{list-style-type:disc;} 阅读全文

posted @ 2021-10-14 18:20 黑泥坚持量变 阅读(253) 评论(0) 推荐(0)

2021/10/14 strong标签 ,b标签 ,em标签 ,i标签 ,del标签 ,ins标签 ,s标签 ,u标签 ,mark标签 ,sub标签 ,sup标签 ,small标签
摘要:11.1 strong标签 和 b 标签 (加粗) strong:强调某些文本内容; <p>正常文本 <strong>重要文本</strong></p> b:没有任何表示重要的语义; <p><b>这是粗体文本。</b></p> 11.2 em 标签和 i 标签(斜体) em用于定义表示<em>强调的 阅读全文

posted @ 2021-10-14 14:14 黑泥坚持量变 阅读(460) 评论(0) 推荐(0)

2021/10/12 q ,blockquote ,cite ,abbr ,dfn ,address ,ruby ,bdo
摘要:10.1 q 标签 q 标签用于定义较短的引用,浏览器通常会在引用内容的两侧添加“引号”。 传送门 <q>Welcome to FishC.com</q> Welcome to FishC.com 10.2 blockquote 标签 blockquote 标签用于定义引用一大段文本,浏览器通常会使 阅读全文

posted @ 2021-10-12 19:48 黑泥坚持量变 阅读(226) 评论(0) 推荐(0)

2021/10/11 pre,html 字符实体,等宽字体,语义化,code ,var ,kbd ,samp
摘要:9.1 pre标签 pre 元素用于定义预格式化的文本。pre 元素会保留空格和换行符,而文本自身也会呈现为等宽字体。 预格式化:预格式化就是保留文本在源代码中的格式,使得页面中显示的和源代码中的效果完全一致。也就是说,浏览器在显示其中的内容时,会完全按照其真正的文本格式来显示,原封不动地保留文档中 阅读全文

posted @ 2021-10-11 11:14 黑泥坚持量变 阅读(784) 评论(0) 推荐(0)

2021/09/28 块级标签,行内标签
摘要:8.0 块级标签 <address> <article> <aside> <blockquote> <canvas> <dd> <div> <dl> <dt> <fieldset> <figcaption> <figure> <footer> <form> <h1>~<h6> <header> <h 阅读全文

posted @ 2021-09-28 15:49 黑泥坚持量变 阅读(38) 评论(0) 推荐(0)

2021/09/27 script标签:defer 属性,async 属性,noscript标签
摘要:6.0 scripts标签 1) 内嵌的 JavaScript 代码 <script type="text/javascript"> document.write("I love FishC.com!") </script> 2) 通过 src 属性引用来自外部代码文件 <script type=" 阅读全文

posted @ 2021-09-27 20:07 黑泥坚持量变 阅读(122) 评论(0) 推荐(0)

2021/09/27 meta,style ,link ,base
摘要:3.0 title 标签只能放在 head 中3.1 meta 标签: <!DOCTYPE html><html><head> <title>第一个程序</title> <meta charset="UTF-8"> <meta name="viewport" content="width=devic 阅读全文

posted @ 2021-09-26 20:14 黑泥坚持量变 阅读(68) 评论(0) 推荐(0)

导航