最基本的HTML,在使用的时候却经常忘记,在网上找到了一份小抄,纪录在这里
HTML Basic Document
<html>
<head>
<title>Title of document goes here</title>
</head>
<body>
Visible text goes here...
</body>
</html>
Heading Elements
<h1>Largest Heading</h1>
<h2> . . . </h2>
<h3> . . . </h3>
<h4> . . . </h4>
<h5> . . . </h5>
<h6>Smallest Heading</h6>
Text Elements
<p>This is a paragraph</p>
<br /> (line break)
<hr /> (horizontal rule)
<pre>This text is preformatted</pre>
Logical Styles
<em>This text is emphasized</em>
<strong>This text is strong</strong>
<code>This is some computer code</code>
Physical Styles
<b>This text is bold</b>
<i>This text is italic</i>
Links
Ordinary link: <a href="http://www.example.com/">Link-text goes here</a>
Image-link: <a href="http://www.example.com/"><img src="URL" alt="Alternate Text" /></a>
Mailto link: <a href="mailto:webmaster@example.com">Send e-mail</a>
A named anchor:
<a name="tips">Tips Section</a>
<a href="#tips">Jump to the Tips Section</a>
Unordered list
<ul>
<li>Item</li>
<li>Item</li>
</ul>
Ordered list
<ol>
<li>First item</li>
<li>Second item</li>
</ol>
Definition list
<dl>
<dt>First term</dt>
<dd>Definition</dd>
<dt>Next term</dt>
<dd>Definition</dd>
</dl>
Tables
<table border="1">
<tr>
<th>Tableheader</th>
<th>Tableheader</th>
</tr>
<tr>
<td>sometext</td>
<td>sometext</td>
</tr>
</table>
Frames
<frameset cols="25%,75%">
<frame src="page1.htm" />
<frame src="page2.htm" />
</frameset>
Forms
<form action="http://www.example.com/test.asp" method="post/get">
<input type="text" name="email" size="40" maxlength="50" />
<input type="password" />
<input type="checkbox" checked="checked" />
<input type="radio" checked="checked" />
<input type="submit" value="Send" />
<input type="reset" />
<input type="hidden" />
<select>
<option>Apples</option>
<option selected="selected">Bananas</option>
<option>Cherries</option>
</select>
<textarea name="comment" rows="60" cols="20"></textarea>
</form>
Entities
< is the same as <
> is the same as >
© is the same as ©
Other Elements
<!-- This is a comment -->
<blockquote>
Text quoted from a source.
</blockquote>
<address>
Written by W3Schools.com<br />
<a href="mailto:us@example.org">Email us</a><br />
Address: Box 564, Disneyland<br />
Phone: +12 34 56 78
</address>
分享到:
相关推荐
HTML 5 cheatsheet
Css_Html_Html5_JavaScript_MySql_Php_Rgb_Sql cheat sheet Css_Html_Html5_JavaScript_MySql_Php_Rgb_Sql cheat sheet Css_Html_Html5_JavaScript_MySql_Php_Rgb_Sql cheat sheet
HTML5-cheat-sheet.pdf
HTML5_Canvas_Cheat_Sheet.zip
自己收集整理的各种语言(html js python php css C++ mySql jQuery...等)+学习工具+使用快建键大全集,程序员桌面备查必备,我给添加了书签方便翻阅
jQuery1.3 CheatSheet 1920×1200 | 1680×1050 | 1440×900 大多数人都很难记住所有的编程细节,即使再好的程序员也会有对某个程序语言的疏忽大意,所以把相关的手册打印出来或随时放在桌面上进行查阅绝对是可以...
html-css-cheatsheet 这是我自己作为培训项目编写CSS速查表。技术领域HTML5 CSS状态项目是:进行中去做: 添加特异性表和信息样式表和颜色更新字体灵感此项目旨在满足Fullcade工程师路径中Codecademy的“构建自己的...
html-css-cheat-sheet 一个简单的精选HTML5和CSS备忘单。 查看备忘单 只需在浏览器中打开 。 没有外部依赖关系。 特征 直观的示例准确地显示了属性的特定值将如何显示。 减少猜测。 内联样式用于展示的特定样式...
html_entities_cheatsheet_v3.pdf
一些WEB设计师常用的CSS属性速记表。 包含了CSS和一部分HTML的速记属性。
html5 入门教程,主要讲解canvas
URSINA API文档文档 The Ursina Engine is a recently released open source Python based 3D game engine. The Ursina Engine is built on top of the well established Panda3D game engine (learn more here)....
全面Linux备忘单可在如何从'linux_cheatsheet.txt'生成'index.html' 'linux_cheatsheet.txt' : $ ./parse.py > index.html
H5SC, HTML5安全Cheatsheet一个HTML5相关的XSS攻击向量集合 HTML5安全功能这是H5SC或者HTML5安全插件的新主页。 在这里你可以找到三种东西:一个 Collection 相关的XSS攻击向量一组用于XSS测试的有用文件一组以前...
所有的HTML页面中所需的字符对照表 非常适合专业HTML设计师打印出来贴在墙上对照使用
css、html5、jquery、正则、javascript、flash as3的cheat sheet,6张大图片,很好用
Vim Cheat Sheet 做了一个简易的Vim命令Cheat Sheet,方便使用时查阅 使用了
Bootstrap_CheatSheet Bootstrap 5类
# outputs the qubes cheat sheet as PDF filepandoc metadata.yaml qubes-cheatsheet.md -s -o qubes-cheatsheet.pdf# outputs the qubes cheat sheet as HTML (HTML5) filepandoc metadata.yaml qubes-cheatsheet....
./data/cheatsheet.md用于存储备忘单的文件 ./data/info.json有关备忘单模板的一些额外信息。 ./scripts/builder.js用于构建备忘单模板的脚本。 ./templates/*.html用于构建的模板文件。 在文档中添加更多信息 您...