HTML 速查表 速查表 
URL 
scheme://host.domain:port/path/filename 
 
名称 
功能 
最常见 
 
 
scheme 
因特网服务的类型 
http https(安全超文本传输协议) ftp file 
 
host 
域主机 
默认www 
 
domain 
因特网域名 
例如baidu.com 
 
:port 
主机上的端口号 
默认80 
 
path 
服务器上的路径 
如果省略 则文档必须位于网站根目录中 
 
filename 
文档/资源的名称 
 
只能使用ASCII字符集!! 
自己的代码总结 边看边写 把接触到的知识点都罗列了一遍
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 <!DOCTYPE html > <html > <head  style ="background-color:pink;" > <meta  charset ="utf-8" > <title > my html notes</title > </head > <body > <h1  style ="font-family: 'Courier New', Courier, monospace;color: plum;size: 50px;" > my title</h1 > <h2  style ="text-align: center;" > my subtitle</h2 > <a  href ="https://baokker.github.io" > <strong > <i > blog </strong > </i > </a > <br > <br > <p1 > my paragraph<br > <br > <div  style ="color:rgb(80, 31, 129)" > <strong > 加粗</strong > <br > <br > <em > 斜体<span  style ="color: seagreen;" > (而此处颜色发生了改变)</span > </em > <br > <br > </div > <b > 加粗</b > <br > <br >  <i > 斜体</i > <br > <br > <sub > 下标</sub > <br > <br > <sup > 上标</sup > <br > <br > <ins > 插入字</ins > <br > <br > <del > 删除字</del > <br > <br > <p > <abbr  title ="baokker" > bke</abbr >  is my abbreviation(缩写)</p > <br > <br > <img  border ="10"  src ="https://raw.githubusercontent.com/Baokker/cdn_for_blog/main/img/custom/avatar.jpg"  alt ="if the image fails to load ,the text will emerge instead" > <br > <br > <img  border ="10"  src ="https://raw.githubusercontent.com/Baokker/cdn_for_blog/main/img/custom/avatar.jpg"  alt ="if the image fails to load ,the text will emerge instead"  style ="float:center" > 居中处理<br > <br > </p1 > <table  border ="1"  style ="background-color: salmon;" > <caption > table_title</caption > <tr > <th > name</th > <th  colspan ="2" > link</th > </tr > <tr > <td > baokker</td > <td > <a  href ="https://baokker.github.io" > my blog</a > </td > <td > <a  href ="https://baidu.com" > baidu</a > </td > </tr > </table > <br > <br > <ul > <li > coffee</li > <li > milk</li > </ul > <br > <ul  style ="list-style-type: square;" > <li > coca_cola</li > <li > wangzai milk</li > </ul > <ol > <li > wake up</li > <li > go to school</li >  </ol > <br > <ol  type ="i" > <li > physics</li > <li > chemistry</li > </ol > <br > <form > <input  type ="text"  name ="account" > <br > <input  type ="password"  name ="password" > <br > <br > <input  type ="radio"  name ="sex"  value ="male" > male<br > <input  type ="radio"  name ="sex"  value ="female" > female<br > <br > <input  type ="checkbox"  name ="food"  value ="meat" > meat<br > <input  type ="checkbox"  name ="food"  value ="vegetabledog" > vegetabledog<br > <br > <select  name ="food" > <option  value ="chinese food"  selected > chinese food</option > <option  value ="thai food" > thai food</option > <option  value ="french food" > french food</option > </select > <br > <br > </form > <form  name ="input"  action ="html_form_action.php"  method ="get" > <input  type ="text"  name ="user" > <input  type ="submit"  value ="Submit" > <br > <br > <br > </form > <iframe  src ="https://baokker.github.io"  name ="example"  height ="600"  width ="600" > </iframe > <br > <br > <a  href ="https://www.runoob.com/html/html-colornames.html"  target ="example" > 点击此链接可以看菜鸟教程</a > <br > <br > <div  style ="background-color: rgba(25,65,25,0.7);" > <br > <br > </div > <br > <br > <p  id ="mydemo" > 测试语句 用于示例script</p > <br > <button  type ="button"  onclick ="example()" > 点击此处会修改测试语句</button > <script >             function  example (             {                 document .getElementById ("mydemo" ).innerHTML ="hahahahaha" ;             };          </script > <noscript > sorry script无法测试 浏览器不支持JavaScript!</noscript > <br > <br > <p > 字符实体<br > < < > > 等等 参照<a  href ="https://www.runoob.com/html/html-entities.html" > 这个链接</a > <br > <br >     </p > <code > 直接输出</code > <samp > sample</samp > <var > </var > </body > </html > 
该图片由Jürgen Bierlein 在Pixabay 上发布