HTML learning
HTML (Hyper Text Markup Language):
HTML is the abbreviation of Hyper Text Markup Language and is the most basic web page language
HTML versions:
2.0 (IETF), 3.0 (W3C), 4.01 (W3C), 5.0 (W3C)
IETF: Internet Engineering Task Force
W3C: World Wide Web Consortium
Characteristics of HTML:
is a language defined by tags. Codes are composed of tags. Codes are not case sensitive.
starts with and ends with
It consists of two parts: the header part
HTML tags:
Most tags have start tags and End tag . For example:
Paragraph
Target: The default target for all hyperlinks on the page
content ="Java,.Net,Android,iOS">
See when crawling by spiders, it is related to search engine SEO
html; charset=utf-8"> Inform the browser of the content, type, and encoding of this page Refresh to a certain page after three seconds
3. Font
< font size=5 color=red>
Font tag example FF0000 is a group of two numbers, arranged according to red, green and blue For example: #FF0000 means red, #00FF00 means green
Title tag
No tags:
Number tags:
> Symbol tag:
not not been
链接标签:
<span style="font-size:14px;"><span style="white-space:pre"> </span> <span style="font-size:18px;"> <a href="http://www.maomao.com" target="_blank">猫猫学编程</a></span></span>
<span style="font-size:14px;"><span style="white-space:pre"> </span><a name="mark" /></span>
<span style="font-size:14px;"><span style="white-space:pre"> </span><a href="#mark">跳转到标记</a></span>
图像标签:
<span style="font-size:14px;"><span style="white-space:pre"> </span><img src="1.jpg" align="right" border="3" alt="图片说明文字" /> </span>
图像地图
<span style="font-size:14px;"><span style="white-space:pre"> </span><img src="Sunset.jpg" alt="图片说明文字" usemap="#Map" /> <map name="Map"> <area shape="rect" coords="50,59,116,104" href="1.html" /> <area shape="circle" coords="118,203,40" href="2.html" /> </map></span>
框架集合标签