日期 | 总用时 | 学习目标 |
---|---|---|
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天