<b></b>
與<strong></strong>
的區別
javascript
<b> 的默認樣式只是將文本加粗 <strong> 在默認樣式上和 <b> 同樣,將文本加粗 可是 <strong> 在語義上更爲強烈,方便瀏覽器或開發人員識別重點
<i></i>
和<em></em>
的區別css
同上
經常使用的標籤解釋html
alt 可選內容,加載失敗用這個代替 src 路徑 <img> 圖片 <hr> 水平分割線 <br> 強制換行 <nav></nav> 導航 <main></main> 主要內容 <noscript></noscript> 瀏覽器不支持js時顯示的內容
最最完整的<head>
標籤meta
、link
、title
、style
、script
、noscript
、base
html5
<meta charset="utf-8"> <meta name="author" content="xxx"> <meta name="keyword" content="xxx"> <meta name="discription content="xxx"> <link rel="stylesheet" href="xxx/xxx.css"> <script src="xxx/xxx.js">
只須要一個開始標籤就能夠了,不須要結束標籤
的標籤關於html全部的標籤(https://www.w3.org/html/wiki/...)java
The root element <html> Document metadata <head> <title> <base> <isindex> <link> <meta> <style> Scripting <script> <noscript> Sections <body> <section> <nav> <article> <aside> <h1> <h2> <h3> <h4> <h5> <h6> <hgroup> <header> <footer> <address>
Grouping content <p> <hr> <pre> <blockquote> <ol> <ul> <li> <dl> <dt> <dd> <figure> <figcaption> <div> <center> Text-level semantics <a> <em> <strong> <small> <s> <cite> <q> <dfn> <abbr> <time> <code> <var> <samp> <kbd> <sub>、<sup> <i> <b> <mark> <ruby> <rt> <rp> <bdo> <span> <br> <wbr> <tt> <u> <strike> <big> <basefont> <font> <acronym> <blink> <marquee> <nobr> <spacer> <listing> <xmp> <nextid> Edits <ins> <del>
Embedded content <img> <iframe> <embed> <object> <param> <video> <audio> <source> <track> <canvas> <map> <area> <math> <svg> <applet> <frame> <frameset> <noframes> <bgsound> <noembed> <plaintext> Tables <table> <caption> <colgroup> <col> <tbody> <thead> <tfoot> <tr> <td> <th> Forms <form> <fieldset> <legend> <label> <input> <button> <select> <datalist> <optgroup> <option> <textarea> <keygen> <output> <progress> <meter> Interactive <details> <summary> <command> <menu>
Previous HTML Elements <acronym> <applet> (deprecated in HTML 4.01, non conformant in HTML5) <basefont> (deprecated in HTML 4.01, non conformant in HTML5) <bgsound> <big> <blink> <c> (never deployed, was a proposal before span) <center> (deprecated in HTML 4.01, non conformant in HTML5) <font> (deprecated in HTML 4.01, non conformant in HTML5) <frame> <frameset> <isindex> (deprecated in HTML 4.01, non conformant in HTML5) <listing> <marquee> <nextid> <nobr> <noembed> <noframes> <plaintext> <spacer> <strike> (deprecated in HTML 4.01, non conformant in HTML5) <tt> <u> (deprecated in HTML 4.01, non conformant in HTML5) <xmp>
see also in:
https://en.wikipedia.org/wiki...
https://www.w3.org/TR/html/
https://www.w3.org/TR/html51/web