日期 | 總用時 | 學習目標 |
---|---|---|
2018.07.31 | 4h | 瞭解HTML |
超文本標記語言 (英語:Hypertext Markup Language,簡稱:HTML ) 是一種用來結構化 Web 網頁及其內容的標記語言html
圖片 <img>前端
<img src="images/firefox-icon.png" alt="My test image">
altweb
標題標籤(不一樣於頁面標題 title)瀏覽器
<h1>–<h6>
列表編輯器
連接ide
<a href="https://www.mozilla.org/en-US/about/manifesto/">Mozilla Manifesto</a>
描述列表學習
<dl> <dt>soliloquy</dt> <dd>In drama, where a character speaks to themselves, representing their inner thoughts or feelings and in the process relaying them to the audience (but not to other characters.)</dd> <dt>monologue</dt> <dd>In drama, where a character speaks their thoughts out loud to share them with the audience and any other characters present.</dd> <dt>aside</dt> <dd>In drama, where a character shares a comment only with the audience for humorous or dramatic effect. This is usually a feeling, thought or piece of additional background information.</dd> </dl>
塊引用網站
<blockquote cite="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/blockquote"> <p>The <strong>HTML <code><blockquote></code> Element</strong> (or <em>HTML Block Quotation Element</em>) indicates that the enclosed text is an extended quotation.</p> </blockquote>
cite表示引用來源搜索引擎
縮略語<abbr>,它常被用來包裹一個縮略語或縮寫,而且提供縮寫的解釋(包含在title屬性中)編碼
<p>We use <abbr title="Hypertext Markup Language">HTML</abbr> to structure our web documents.</p>
展現計算機代碼
<code>: 用於標記計算機通用代碼。 <pre>: 對保留的空格(一般是代碼塊)——若是您在文本中使用縮進或多餘的空白,瀏覽器將忽略它,您將不會在呈現的頁面上看到它。可是,若是您將文本包含在<pre></pre>標籤中,那麼空白將會以與你在文本編輯器中看到的相同的方式渲染出來。 <var>: 用於標記具體變量名。 <kbd>: 用於標記輸入電腦的鍵盤(或其餘類型)輸入。 <samp>: 用於標記計算機程序的輸出。
標記時間和日期
<time datetime="2016-01-20">20 January 2016</time>
結構化網站的標籤
標題: <header>. 導航欄: <nav>. 主要內容: <main>, 具備表明性的內容段落主題可使用 <article>, <section>, 和 <div> 元素. 側欄: <aside>; 常常嵌套在 <main> 中. 頁腳: <footer>.
沒有特定語義的裝飾元素
<div>和<span>
換行與水平分割線
<br> 和<hr>
· 塊級元素在頁面中以塊的形式展示 —— 相對與其前面的內容它會出如今新的一行,其後的內容也會被擠到下一行展示。塊級元素一般用於展現頁面上結構化的內容,例如段落、列表、導航菜單、頁腳等等。一個以block形式展示的塊級元素不會被嵌套進內聯元素中,但能夠嵌套在其它塊級元素中。 · 內聯元素一般出如今塊級元素中幷包裹文檔內容的一小部分,而不是一整個段落或者一組內容。內聯元素不會致使文本換行:它一般出如今一堆文字之間例如超連接元素<a>或者強調元素<em>和 <strong>
系統的學習前端,堅持66天