HTML世界核心

目录

一、基本文档(Basic Documentation)

二、基本标签(Basic Tags)

三、文本格式化(Formatting)

四、链接(Links)

五、图片(Images)

六、样式/区块(Styles/Sections)

七、无序列表(Disorder List)

八、有序列表(Sequence List)

九、定义列表(Defining List)

十、表格(Tables)

十一、框架(Iframe)

十二、表单(Forms)

十二、标签简写及全称

 十三、功能排序

十四、全局属性


一、基本文档(Basic Documentation)

<!DOCTYPE html>

<html>

<head>

<title>文档标题</title>

</head>

<body> 可见文本

</body>

</html>

二、基本标签(Basic Tags)

<h1>最大的标题</h1>

<h2> . . . </h2>

<h3> . . . </h3>

<h4> . . . </h4>

<h5> . . . </h5>

<h6>最小的标题</h6>

<p>这是一个段落。</p>

<br> (换行)

<hr> (水平线)

<!-- 这是注释 -->

三、文本格式化(Formatting)

<b>粗体文本</b>

<code>计算机代码</code>

<em>强调文本</em>

<i>斜体文本</i>

<kbd>键盘输入</kbd>

<pre>预格式化文本</pre>

<small>更小的文本</small>

<strong>重要的文本</strong>

<abbr> (缩写)

<address> (联系信息)

<bdo> (文字方向)

<blockquote> (从另一个源引用的部分)

<cite> (工作的名称)

<del> (删除的文本)

<ins> (插入的文本)

<sub> (下标文本)

<sup> (上标文本)

四、链接(Links)

普通的链接:<a href="http://www.example.com/">链接文本</a>

图像链接: <a href="http://www.example.com/"><img src="URL" alt="替换文本"></a>

邮件链接: <a href="mailto:webmaster@example.com">发送e-mail</a>

书签:

<a id="tips">提示部分</a>

<a href="#tips">跳到提示部分</a>

五、图片(Images)

<img src="URL" alt="替换文本" height="42" width="42">

六、样式/区块(Styles/Sections)

<style type="text/css">

h1 {color:red;}

p {color:blue;}

</style>

<div>文档中的块级元素</div>

<span>文档中的内联元素</span>

七、无序列表(Disorder List)

<ul>

<li>项目</li>

<li>项目</li>

</ul>

八、有序列表(Sequence List)

<ol>

<li>第一项</li>

<li>第二项</li>

</ol>

九、定义列表(Defining List)

<dl>

<dt>项目 1</dt>

<dd>描述项目 1</dd>

<dt>项目 2</dt>

<dd>描述项目 2</dd>

</dl>

十、表格(Tables)

<table border="1">

<tr>

<th>表格标题</th>

<th>表格标题</th>

</tr>

<tr>

<td>表格数据</td>

<td>表格数据</td>

</tr>

</table>

十一、框架(Iframe)

<iframe src="demo_iframe.htm"></iframe>

十二、表单(Forms)

<form action="demo_form.php" 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>梨子</option>

<option selected="selected">香蕉</option>

<option>车厘子</option>

</select>

<textarea name="comment" rows="60" cols="20"></textarea>

</form>

相关推荐

  1. HTML世界核心

    2024-02-20 21:56:03       27 阅读
  2. HTML世界之标签Ⅲ

    2024-02-20 21:56:03       21 阅读
  3. HTML世界之标签Ⅱ

    2024-02-20 21:56:03       17 阅读
  4. HTML世界之标签Ⅳ

    2024-02-20 21:56:03       18 阅读
  5. HTML世界之标签Ⅴ

    2024-02-20 21:56:03       18 阅读
  6. HTML世界之标签Ⅵ

    2024-02-20 21:56:03       17 阅读
  7. HTML世界之标签Ⅶ

    2024-02-20 21:56:03       16 阅读
  8. HTML世界之input标签

    2024-02-20 21:56:03       21 阅读
  9. HTML世界之第一重天

    2024-02-20 21:56:03       30 阅读

最近更新

  1. TCP协议是安全的吗?

    2024-02-20 21:56:03       16 阅读
  2. 阿里云服务器执行yum,一直下载docker-ce-stable失败

    2024-02-20 21:56:03       16 阅读
  3. 【Python教程】压缩PDF文件大小

    2024-02-20 21:56:03       15 阅读
  4. 通过文章id递归查询所有评论(xml)

    2024-02-20 21:56:03       18 阅读

热门阅读

  1. c编译器学习01:tcc、chibicc简介

    2024-02-20 21:56:03       24 阅读
  2. Docker Compose 的安装方

    2024-02-20 21:56:03       27 阅读
  3. 华纳云:Nginx的内存池如何实现,有哪些特点

    2024-02-20 21:56:03       30 阅读
  4. 【Vue3】defineExpose

    2024-02-20 21:56:03       31 阅读
  5. P14 前缀和原理和特点

    2024-02-20 21:56:03       26 阅读
  6. element-plus_message.js

    2024-02-20 21:56:03       30 阅读
  7. docker安装milvus后,无法打开attu,日志报错

    2024-02-20 21:56:03       29 阅读
  8. 力扣题目-178. 分数排名

    2024-02-20 21:56:03       27 阅读