html jsp mysql 菜鸟教程 — 学的不仅是技术,更是梦想!
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>6/42351394076240.jpg 480w, https://www.runoob.com/wp-content/uploads/2015/06/42351394076240-300×151.jpg 300w” alt=”html jsp mysql”/ style=”max-width: 100%; height: auto; display: block; margin: 1.2em auto; box-shadow: 0 2px 12px rgba(158,24,64,0.10);”>
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>本文目标
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>30分钟内让你明白HTML是什么,并对它有一些基本的了解。一旦入门后,你可以从网上找到更多更详细的资料来继续学习。
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>什么是HTML
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>HTML是英文Hyper Text Mark-up (超文本标记语言)的缩写,它规定了自己的语法规则,用来表示比”文本”更丰富的意义,比如图片,表格,链接等。浏览器(IE,等)软件知道HTML语言的语法,可以用来查看HTML文档。目前互联网上的绝大部分网页都是使用HTML编写的。
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>HTML是什么样的
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>简单地来说,HTML的语法就是给文本加上表明文本含义的标签(Tag),让用户(人或程序)能对文本得到更好的理解。
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>下面是一个最简单的HTML文档:
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”><pre style="background: #f0e0e4; color: #9e1840; padding: 1.2em; overflow-x: auto; margin: 1.2em 0; font-family: Consolas, monospace; font-size: 14px; line-height: 1.6;”>
欢迎访问菜鸟教程!
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>所有的HTML文档都应该有一个标签,标签可以包含两个部分:和。
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>标签用于包含整个文档的一般信息,比如文档的标题(标签用于包含标题),对整个文档的描述,文档的关键字等等。文档的具体内容就要放在标签里了。
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>标签用于表示链接,在浏览器(如IE,等)中查看HTML文档时,点击标签括起来的内容时,通常会跳转到另一个页面。这个要跳转到的页面的地址由标签的href属性指定。上面的中html jsp mysql 菜鸟教程 — 学的不仅是技术,更是梦想!,href属性的值就是。
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>HTML文档可以包含的内容
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>通过不同的标签,HTML文档可以包含不同的内容,比如文本,链接,图片,列表html jsp mysql,表格,表单,框架等。
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>文本
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>HTML对文本的支持是最丰富的,你可以设置不同级别的标题,分段和换行,可以指定文本的语义和外观,可以说明文本是引用自其它的地方,等等等等。
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>链接
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>链接用来指出内容与另一个页面或当前页面某个地方有关。
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>图片
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>图片用于使页面更加美观,或提供更多的信息。
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>列表
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>列表用于说明一系列条目是彼此相关的。
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>表格
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>表格是按行与列将数据组织在一起的形式。也有不少人使用表格进行页面布局。
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>表单
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>48693754,538041919&fm=253&fmt=JPEG&app=138&f=JPEG?w=500&h=669″ alt=”html jsp mysql”/ style=”max-width: 100%; height: auto; display: block; margin: 1.2em auto; box-shadow: 0 2px 12px rgba(158,24,64,0.10);”>
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>表单通常由文本输入框,按钮,多选框,单选框,下拉列表等组成,使HTML页面更有交互性。
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>框架
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>框架使页面里能包含其它的页面。
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>HTML文档格式详细说明
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>前面介绍了HTML文档的基本格式,下面再做一个详细说明。
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>HTML文档可以用任何文本编辑器(比如记事本,等)创建,编辑,因为它的内容在本质也只是一些文本。
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>在HTML文本中,用尖括号括起来的部分称为标签。如果想在正文里使用尖括号(或者大与号小与号,总之是同一个东西),必须使用字符转义,也就是说转换字符的原有意义。则使用>,至于&符号本身,则应该使用&替代(不得不说的是有很多HTML文档没有遵循这个规则,常用的浏览器也都能够分析出&到底是一个转义的开始,还是一个符号,但是这样做是不推荐的)。
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>标签本质上是对它所包含的内容的说明,可能会有属性,来给出更多的信息。比如
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>(图片)标签有src属性(用于指明图片的地址),width和属性(用于说明图片的宽度和高度)。HTML里能使用哪些标签,这些标签分别可以拥有哪些属性,这些都是有规定的,知道了这里说的基本知识之后,学习HTML其实也就是学习这些标签了。本文后面会对常用的HTML标签做出简短的介绍。
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>标签通常有开始部分和结束部分(也被称为开始标签和结束标签),它们一起限定了这个标签所包含的内容。属性只能在开始标签中指定,属性值可以用单引号或双引号括起来。结束标签都以/加上标签名来表示。有时候,有些标签并不包含其它内容(只包括自己的属性,甚至连属性都没有),这种情况下,可以写成类似这样:
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>4,64,0.10);”>
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>。注意最后的一个空格和一个反斜杠,它说明这个标签已经结束,不需要单独的结束标签了。
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>某些标签包含的内容中还可以有新的标签,新的标签名甚至可能还可以与包含它的标签的名称相同(哪些标签可以包含标签,可以包含哪些标签也是有规定的)。比如:
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”><pre style="background: #f0e0e4; color: #9e1840; padding: 1.2em; overflow-x: auto; margin: 1.2em 0; font-family: Consolas, monospace; font-size: 14px; line-height: 1.6;”>
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>在这种情况下,最后出现的标签应该最先结束。
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>HTML文档里所有的空白符(空格,Tab,换行,回车)会被浏览器忽略,唯一的例外是空格,对空格的处理方式是所有连续的空格被当成一个空格,不管有一个,还是两个,还是100个。之所以有这样的规则是因为忽略空白符能让使用HTML的作者以他觉得最方便的格式来排列内容,比如可以在每个标签开始后增加缩进html jsp mysql,标签结束后减少缩进。由于英语文本中空格用得很普遍(用于分隔单词),所以对空格做了这样的特殊处理。<span style="color: black; background-color: #FF1493; font-weight: bold;”>如果要显示连续的空格(比如为了缩进),应该用来代表空格。
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”><span style="color: white; background-color: #FF69B4; font-weight: bold;”>常用标签介绍文本
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>最常用的标签可能是了,它用于改变字体,字号,文字颜色。
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”><pre style="background: #f0e0e4; color: #9e1840; padding: 1.2em; overflow-x: auto; margin: 1.2em 0; font-family: Consolas, monospace; font-size: 14px; line-height: 1.6;”>
<font size="6“>6
<font size="4“>4
红色的5
黑体的字
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>加粗,下划线,斜体字也是常用的文字效果,它们分别用,,表示:
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”><pre style="background: #f0e0e4; color: #9e1840; padding: 1.2em; overflow-x: auto; margin: 1.2em 0; font-family: Consolas, monospace; font-size: 14px; line-height: 1.6;”>
Bold
italic
underline
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>还有一些标签,用来指出包含的文本有特殊的意义,比如(表示缩写),(表示强调),(表示更强地强调),(表示引用),(表示地址)等等。这些标签不是为了定义显示效果而存在的,所以从浏览器里看它们可能没有任何效果,也可能不同的浏览器对这些标签的显示效果完全不同。
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>一篇很长的文章,如果有合适的小标题的话,就可以快速地对它的内容进行大致的了解。在HTML里,用来表示标题的标签有:,,,,,,它们分别表示一级标题html jsp mysql,二级标题,三级标题…
<div style="margin: 0 0 1.4em; text-align: center"><span style="display:inline-block; background:#9e1840; color:#f0dde2; font-size:18px; font-weight:700; padding:6px 28px; letter-spacing:0.06em; line-height:1.6;">HTML 30分钟教程
<span style="display:inline-block; background:#9e1840; color:#f0dde2; padding:7px 28px; font-size:16px; font-weight:700; letter-spacing:0.05em; line-height:1.5;">什么是HTML<span style="display:inline-block; width:0; height:0; border-left:10px solid transparent; border-right:10px solid transparent; border-top:8px solid #9e1840;">​
<section class="content-section level-2" style="padding: 1.1em 1.4em 1.3em; border: 1px solid #e08898;"> ...<span style="display:inline-block; background:#9e1840; color:#f0dde2; padding:7px 28px; font-size:16px; font-weight:700; letter-spacing:0.05em; line-height:1.5;">HTML是什么样的<span style="display:inline-block; width:0; height:0; border-left:10px solid transparent; border-right:10px solid transparent; border-top:8px solid #9e1840;">​
<section class="content-section level-2" style="padding: 1.1em 1.4em 1.3em; border: 1px solid #e08898;"> ...<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>图片
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>49527900,2772583858&fm=253&fmt=JPEG&app=138&f=JPEG?w=500&h=668″ alt=”html jsp mysql”/ style=”max-width: 100%; height: auto; display: block; margin: 1.2em auto; box-shadow: 0 2px 12px rgba(158,24,64,0.10);”>
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>标签用于在页面上添加横线。可以通过指定width和color属性来控制横线的长度和颜色。
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”><pre style="background: #f0e0e4; color: #9e1840; padding: 1.2em; overflow-x: auto; margin: 1.2em 0; font-family: Consolas, monospace; font-size: 14px; line-height: 1.6;”>
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>标签用于在页面上添加图片,src属性指定图片的地址,如果无法打开src指定的图片,浏览器通常会在页面上需要显示图片的地方显示alt属性定义的文本。
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”><pre style="background: #f0e0e4; color: #9e1840; padding: 1.2em; overflow-x: auto; margin: 1.2em 0; font-family: Consolas, monospace; font-size: 14px; line-height: 1.6;”>
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>链接
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>超级链接用标签表示,href属性指定了链接到的地址。标签可以包含文本,也可以包含图片。
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”><pre style="background: #f0e0e4; color: #9e1840; padding: 1.2em; overflow-x: auto; margin: 1.2em 0; font-family: Consolas, monospace; font-size: 14px; line-height: 1.6;”>
菜鸟教程
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>分段与换行
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>由于HTML文档会忽略空白符,所以要想保证正常的分段换行的话,必须指出哪些文字是属于同一段落的,这就用到了标签
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”><pre style="background: #f0e0e4; color: #9e1840; padding: 1.2em; overflow-x: auto; margin: 1.2em 0; font-family: Consolas, monospace; font-size: 14px; line-height: 1.6;”>
这是第一段。
这是第二段。
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>也有人不用
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>,而用
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>只表示换行,不表示段落的开始或结束,所以通常没有结束标签。
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”><pre style="background: #f0e0e4; color: #9e1840; padding: 1.2em; overflow-x: auto; margin: 1.2em 0; font-family: Consolas, monospace; font-size: 14px; line-height: 1.6;”>
这是第一段。
这是第二段。
这是第三段。
</pre
有时,要把文档看作不同的部分组合起来的,比如一个典型的页面可能包括三个部分:页头,主体,页脚。
页头内容主体内容页脚内容
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>表格
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>HTML文档在浏览器里通常是从左到右,从上到下地显示的,到了窗口右边就自动换行。为了实现分栏的效果,很多人使用表格()进行页面排版(虽然HTML里提供表格的本意不是为了排版)。
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>标签里通常会包含几个标签,代表表格里的一行。标签又会包含标签,每个代表一个单元格。
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”><pre style="background: #f0e0e4; color: #9e1840; padding: 1.2em; overflow-x: auto; margin: 1.2em 0; font-family: Consolas, monospace; font-size: 14px; line-height: 1.6;”>
| 2000 | 悉尼 |
| 2004 | 雅典 |
| 2008 | 北京 |
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>标签还可以被里的或或包含。它们分别代表表头,表正文,表脚。在打印网页的时候,如果表格很大,一页打印不完,和将在每一页出现。
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>和非常相似html jsp mysql 菜鸟教程 — 学的不仅是技术,更是梦想!,也用在里边,不同的是代表这个单元格是它所在的行或列的标题。
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”><pre style="background: #f0e0e4; color: #9e1840; padding: 1.2em; overflow-x: auto; margin: 1.2em 0; font-family: Consolas, monospace; font-size: 14px; line-height: 1.6;”>
| 时间 | 地点 |
|---|---|
| 2000 | 悉尼 |
| 2004 | 雅典 |
| 2000 | 北京 |
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>列表
<p style="margin: 0.9em 0; line-height: 1.9; font-size: 16px; color: #1f2937;”>表格用于表示二维数据(行,列),一维数据则用列表表示。列表可以分为无序列表(
1. 本站所有资源来源于用户上传和网络,如有侵权请联系站长!
2. 分享目的仅供大家学习和交流,您必须在下载后24小时内删除!
3. 不得使用于非法商业用途,不得违反国家法律。否则后果自负!
4. 本站提供的源码、模板、插件等等其他资源,都不包含技术服务请大家谅解!
5. 如有链接无法下载、失效或广告,请联系站长处理!
6. 本站不售卖代码,资源标价只是站长收集整理的辛苦费!如果您喜欢该程序,请支持正版软件,购买注册,得到更好的正版服务。
7. 站长QQ号码 2205675299
资源库 - 资源分享下载网 » html jsp mysql 菜鸟教程 — 学的不仅是技术,更是梦想!
常见问题FAQ
- 关于资源售价和售后服务的说明?
- 代码有没有售后服务和技术支持?
- 有没有搭建服务?
- 链接地址失效了怎么办?
- 关于解压密码

