1. 首页
  2. HTML

HTML – 概述

HTML代表超文本标记语言,它是Web上用于开发网页的最广泛使用的语言。HTML由Berners-Lee于1991年末创建,但“HTML 2.0”是1995年发布的第一个标准HTML规范.HTML 4.01是HTML的主要版本,于1999年末发布。尽管HTML 4.01版本被广泛使用但目前我们正在使用HTML-5版本,它是HTML 4.01的扩展,此版本于2012年发布。

HTML - 概述

HTML代表^ h yper 牛逼分机中号 arkup 大号 anguage,它是写网页使用最广泛的语言。

  • 超文本指的是网页(HTML文档)链接在一起的方式。因此,网页上可用的链接称为超文本。
  • 顾名思义,HTML是一种标记语言,这意味着您可以使用HTML简单地“标记”文本文档,并使用标记告诉Web浏览器如何构建它以进行显示。

最初,HTML的开发旨在定义文档的结构,如标题,段落,列表等,以便于研究人员之间共享科学信息。

现在,HTML被广泛用于借助HTML语言中提供的不同标签来格式化网页。

基本HTML文档

在最简单的形式中,以下是HTML文档的示例 –

<!DOCTYPE html>
<html>

   <head>
      <title>This is document title</title>
   </head>
	
   <body>
      <h1>This is a heading</h1>
      <p>Document content goes here.....</p>
   </body>
	
</html>

这是一个标题

文档内容在这里……

HTML标签

如前所述,HTML是一种标记语言,它使用各种标记来格式化内容。这些标签包含在角撑括号<标签名称>中。除少数标签外,大多数标签都有相应的结束标签。例如,<html>的结束标记</ html><body>标记的结束标记</ body>标记等。

上面的HTML文档示例使用以下标记 –

Sr.No 标签和说明
1 <!DOCTYPE …>此标记定义文档类型和HTML版本。
2 <HTML>此标记包含完整的HTML文档,主要包括由<head> … </ head>表示的文档标题和由<body> … </ body>标记表示的文档正文。
3 <HEAD>此标记表示文档的标题,可以保留其他HTML标记,如<title>,<link>等。
4 <TITLE>在<head>标记内使用<title>标记来提及文档标题。
<BODY>此标记表示文档的正文,它保留其他HTML标记,如<h1>,<div>,<p>等。
6 <H1>此标记表示标题。
7 <P>此标记代表一个段落。

要学习HTML,您需要在格式化文本文档时学习各种标记并了解它们的行为方式。学习HTML很简单,因为用户必须学习不同标签的使用,以便格式化文本或图像以制作漂亮的网页。

万维网联盟(W3C)建议从HTML 4开始使用小写标签。

HTML文档结构

典型的HTML文档将具有以下结构 –

<html>
   
   <head>
      Document header related tags
   </head>
   
   <body>
      Document body related tags
   </body>
   
</html>

我们将在后续章节中研究所有标题和正文标记,但现在让我们看看什么是文档声明标记。

<!DOCTYPE>声明

Web浏览器使用<!DOCTYPE>声明标记来了解文档中使用的HTML版本。当前版本的HTML为5,它使用以下声明 –

<!DOCTYPE html>

原创文章,作者:零久SEO,如若转载,请注明出处:http://www.seo0j.com/302.html

发表评论

电子邮件地址不会被公开。 必填项已用*标注

评论列表(40条)

  • 舟州知名博主 2019年5月5日 下午12:14

    html如何制作单页面,有相关教程可以发出来吗?

  • jordan shoes 2020年2月22日 上午7:33

    I needed to post you this tiny note so as to thank you so much yet again regarding the great suggestions you have shown at this time. It is so unbelievably open-handed with you to supply unhampered all a lot of people could have made available as an e book to end up making some bucks on their own, most notably seeing that you might have tried it in the event you wanted. The solutions also acted to be the easy way to fully grasp other people online have a similar dream the same as my personal own to grasp many more with regards to this matter. I believe there are millions of more fun instances up front for people who look over your blog.

  • air jordan 2020年2月25日 上午4:50

    Thanks for all your valuable work on this site. Kate loves engaging in investigation and it’s obvious why. My spouse and i know all relating to the powerful tactic you make functional tricks on this web site and as well recommend contribution from others on this theme and our favorite princess is truly understanding a whole lot. Enjoy the rest of the year. You’re conducting a stunning job.

  • canada goose jacket 2020年2月27日 下午7:01

    I have to show my love for your kind-heartedness for visitors who really want guidance on your field. Your very own commitment to getting the message all-around became remarkably significant and have made people just like me to attain their ambitions. Your new insightful instruction can mean a great deal to me and even more to my peers. Warm regards; from all of us.

  • golden goose 2020年3月1日 上午8:12

    I must express some appreciation to this writer for bailing me out of this dilemma. As a result of browsing throughout the world wide web and meeting suggestions which are not productive, I was thinking my life was over. Being alive without the presence of answers to the difficulties you’ve sorted out as a result of your main guide is a critical case, and the kind that would have in a wrong way affected my entire career if I had not noticed your web page. Your own knowledge and kindness in controlling the whole lot was invaluable. I am not sure what I would have done if I had not come upon such a stuff like this. I’m able to at this time relish my future. Thanks a lot very much for this high quality and amazing guide. I will not hesitate to endorse your blog post to anyone who will need direction on this situation.

  • air max 97 2020年3月4日 上午4:38

    I am just writing to let you understand of the really good discovery our child developed visiting your webblog. She noticed plenty of pieces, with the inclusion of what it is like to have a great helping nature to have other folks without problems fully understand various complex matters. You undoubtedly surpassed people’s desires. Thank you for giving those essential, safe, educational and also unique tips about the topic to Tanya.

  • nike vapormax 2020年3月6日 上午9:53

    I have to express thanks to you just for bailing me out of this particular predicament. Because of looking out throughout the the net and seeing concepts that were not powerful, I was thinking my life was over. Living without the answers to the difficulties you have solved all through your blog post is a crucial case, and the ones that would have negatively affected my career if I hadn’t encountered your website. Your own personal capability and kindness in playing with all the pieces was priceless. I’m not sure what I would have done if I hadn’t come across such a step like this. I can at this time look ahead to my future. Thanks very much for this skilled and results-oriented help. I won’t be reluctant to propose your site to any individual who wants and needs assistance on this subject matter.

  • louboutin shoes 2020年3月9日 上午4:34

    I would like to express my passion for your generosity for those people who need help on that topic. Your personal commitment to passing the solution all over has been unbelievably advantageous and have without exception permitted guys just like me to arrive at their dreams. Your amazing informative tutorial means much to me and still more to my fellow workers. Many thanks; from everyone of us.

  • balenciaga shoes 2020年3月12日 上午8:41

    I wanted to draft you this little remark to thank you again for all the superb secrets you’ve featured at this time. It is really strangely generous of people like you to make openly what exactly many individuals would have sold for an e-book in making some cash for their own end, most importantly since you could possibly have tried it if you ever wanted. The suggestions likewise served to be the good way to recognize that many people have the identical zeal the same as my very own to understand a little more with reference to this issue. I’m certain there are numerous more fun times in the future for people who scan through your blog post.

  • michael kors handbags 2020年3月15日 上午8:42

    I simply wished to say thanks again. I do not know what I might have achieved in the absence of those creative concepts discussed by you about this subject. It was before an absolute horrifying scenario in my position, however , noticing your skilled approach you solved it took me to weep for contentment. I am just grateful for your advice and as well , believe you realize what a great job you happen to be putting in teaching men and women through your blog. Most probably you’ve never encountered all of us.

  • hermes belt 2020年3月18日 上午4:57

    I truly wanted to send a simple message so as to appreciate you for some of the nice tricks you are writing at this website. My considerable internet search has now been rewarded with good know-how to exchange with my family members. I would believe that many of us website visitors are quite endowed to be in a fine place with many outstanding people with good principles. I feel somewhat fortunate to have come across the web page and look forward to really more fabulous times reading here. Thank you once more for everything.

  • yeezy boost 500 2020年3月21日 上午1:15

    I enjoy you because of your entire labor on this web site. My niece takes pleasure in participating in investigation and it’s obvious why. Almost all know all about the dynamic tactic you render very important guidance by means of your web site and as well improve response from visitors about this topic then our own girl is undoubtedly understanding a lot. Have fun with the rest of the year. Your performing a fabulous job.

  • air max 2019 2020年3月23日 上午11:34

    Thank you for all of the effort on this blog. My mother loves doing research and it’s obvious why. All of us learn all regarding the lively ways you present great strategies by means of this website and as well attract contribution from the others on this subject then our own simple princess is always studying a great deal. Take pleasure in the rest of the year. You have been carrying out a first class job.

  • hermes belt 2020年3月26日 上午5:51

    I simply wanted to thank you very much again. I do not know what I would’ve taken care of in the absence of the type of solutions revealed by you on my concern. It was a real intimidating crisis in my circumstances, nevertheless noticing the very specialized technique you handled it made me to jump for contentment. I’m just happy for this guidance and in addition hope you realize what a great job your are putting in educating others thru your web page. I know that you haven’t encountered any of us.

  • yeezy boost 700 2020年3月29日 下午12:14

    I wish to convey my love for your kindness for folks that really need help on this particular issue. Your personal commitment to passing the solution throughout was quite beneficial and have consistently made others just like me to realize their aims. Your personal helpful guidelines indicates a great deal to me and additionally to my mates. With thanks; from each one of us.

  • ultra boost 2020年4月1日 上午11:57

    I happen to be writing to make you be aware of what a extraordinary encounter my friend’s child gained visiting the blog. She picked up some pieces, with the inclusion of what it’s like to have an incredible coaching spirit to make other folks effortlessly fully understand a variety of extremely tough matters. You actually surpassed our desires. Thank you for churning out those beneficial, trustworthy, revealing and also cool tips about the topic to Julie.

  • curry 7 2020年4月7日 上午1:34

    I just wanted to write a brief word to express gratitude to you for those marvelous information you are showing on this site. My particularly long internet research has now been rewarded with good knowledge to exchange with my colleagues. I ‘d mention that most of us website visitors actually are unequivocally fortunate to dwell in a very good place with many lovely professionals with very beneficial basics. I feel quite happy to have used your website and look forward to really more enjoyable minutes reading here. Thanks once more for all the details.

  • vapormax 2020年4月9日 上午2:27

    A lot of thanks for your whole labor on this blog. Debby enjoys going through research and it’s easy to understand why. Most of us notice all concerning the lively tactic you create useful techniques on your web site and even attract contribution from other ones on the point then my daughter is undoubtedly being taught a lot of things. Take advantage of the remaining portion of the new year. You are performing a glorious job.

  • off white hoodie 2020年4月11日 上午2:57

    I wish to express appreciation to the writer for bailing me out of this type of predicament. After searching throughout the the web and obtaining strategies which were not productive, I was thinking my life was done. Being alive without the presence of approaches to the problems you’ve fixed as a result of your main write-up is a critical case, as well as the ones which could have adversely affected my career if I had not encountered your website. Your main competence and kindness in playing with all the things was useful. I don’t know what I would have done if I had not discovered such a point like this. I’m able to at this time look ahead to my future. Thank you so much for your skilled and effective guide. I won’t hesitate to suggest the blog to any person who should get support on this subject.

  • louboutin 2020年4月13日 上午5:32

    I am also writing to make you understand of the fantastic experience my friend’s girl enjoyed reading through your web site. She picked up lots of things, not to mention how it is like to possess an excellent coaching character to make many people just master several complex subject areas. You really exceeded people’s expected results. Thank you for supplying such good, dependable, explanatory and as well as unique guidance on the topic to Janet.

  • chrome hearts online store 2020年4月15日 上午7:30

    I precisely had to say thanks all over again. I do not know the things I would’ve done without those information revealed by you on this subject matter. It became a very hard dilemma in my opinion, but taking note of your specialised technique you solved the issue forced me to leap over fulfillment. I’m just thankful for the information as well as wish you recognize what a great job you happen to be undertaking educating others through the use of your web page. More than likely you have never encountered any of us.

  • jordans 2020年4月17日 上午9:07

    I would like to express thanks to the writer for rescuing me from this particular predicament. Because of browsing throughout the the net and seeing advice which were not helpful, I assumed my entire life was over. Existing devoid of the answers to the difficulties you’ve fixed all through the website is a critical case, and ones that could have in a wrong way affected my career if I hadn’t come across your site. Your primary know-how and kindness in controlling all the pieces was very useful. I don’t know what I would have done if I had not come across such a stuff like this. I can also at this point look ahead to my future. Thanks very much for the impressive and results-oriented help. I will not think twice to recommend the website to any person who needs assistance on this matter.

  • supreme clothing 2020年4月19日 上午11:48

    I and also my friends were found to be going through the good tips from your website then immediately I had a terrible feeling I never thanked the web blog owner for those techniques. Most of the boys became stimulated to read through all of them and now have certainly been enjoying these things. Thanks for simply being so thoughtful as well as for pick out these kinds of good tips millions of individuals are really wanting to be informed on. Our sincere regret for not saying thanks to earlier.

  • jordans 2020年4月21日 下午4:37

    I’m writing to let you be aware of what a magnificent encounter my cousin’s child went through using your webblog. She picked up such a lot of pieces, which included what it is like to have a great coaching spirit to make certain people with ease thoroughly grasp certain tricky subject areas. You truly exceeded her expected results. Many thanks for providing the good, dependable, educational not to mention cool tips about this topic to Ethel.

  • vans outlet 2020年4月23日 下午4:22

    I wanted to jot down a quick remark to appreciate you for some of the fabulous tips you are sharing on this site. My time intensive internet search has now been honored with good quality information to go over with my friends and classmates. I ‘d say that most of us website visitors actually are undeniably endowed to exist in a perfect network with many lovely professionals with interesting strategies. I feel very much happy to have come across the web site and look forward to some more awesome minutes reading here. Thanks again for everything.

  • chrome hearts online 2020年4月25日 下午6:27

    I want to show my passion for your generosity in support of men and women that must have help on your question. Your personal commitment to getting the message all over appeared to be quite interesting and have frequently allowed ladies like me to attain their goals. This interesting hints and tips denotes much a person like me and a whole lot more to my mates. Best wishes; from all of us.

  • kobe 11 2020年4月27日 下午5:47

    Thank you for each of your effort on this website. Betty takes pleasure in doing investigations and it’s really simple to grasp why. All of us learn all regarding the powerful means you make powerful tips and tricks via this blog and as well strongly encourage response from other people about this article plus our girl is undoubtedly being taught a great deal. Enjoy the remaining portion of the year. You are doing a really good job.

  • golden goose sneakers 2020年4月29日 下午3:09

    I intended to write you one little bit of note to finally say thanks a lot as before regarding the extraordinary information you have contributed at this time. It has been simply particularly open-handed of people like you to present easily all a lot of people could possibly have offered for sale as an ebook to end up making some cash for themselves, precisely now that you could possibly have done it if you decided. The guidelines also worked as the good way to be sure that most people have a similar keenness like my very own to find out very much more on the topic of this condition. I’m certain there are thousands of more pleasurable occasions in the future for folks who look over your site.

  • jordan 12 2020年5月2日 上午6:28

    Thanks so much for giving everyone an extremely terrific opportunity to discover important secrets from this website. It’s usually so pleasing plus stuffed with a good time for me and my office peers to search your web site minimum thrice in one week to find out the new tips you will have. And lastly, I’m just usually astounded considering the perfect hints you give. Some 2 facts in this posting are in fact the most efficient I’ve had.

  • nike air max 2020年5月5日 上午6:13

    I definitely wanted to make a brief comment so as to appreciate you for the superb steps you are showing on this site. My incredibly long internet lookup has now been honored with pleasant facts and techniques to talk about with my partners. I would state that that many of us site visitors are unequivocally endowed to exist in a decent website with very many lovely people with very helpful techniques. I feel somewhat privileged to have come across your website and look forward to tons of more awesome times reading here. Thanks again for all the details.

  • michael kors factory outlet 2020年5月7日 下午9:20

    I am just commenting to let you know what a beneficial experience our child undergone using your webblog. She discovered a wide variety of issues, not to mention what it’s like to have an ideal teaching nature to let the others effortlessly have an understanding of chosen advanced things. You truly exceeded her expected results. Thank you for supplying the great, trusted, edifying and also easy tips about this topic to Kate.

  • nike air max 2020年5月9日 上午2:36

    My spouse and i ended up being quite lucky that Louis managed to finish off his basic research from your precious recommendations he discovered from your web site. It is now and again perplexing to simply always be making a gift of tips and tricks many people may have been making money from. We fully grasp we now have you to be grateful to for this. All the illustrations you’ve made, the straightforward web site menu, the friendships your site help to create – it’s many excellent, and it is leading our son in addition to us recognize that the matter is satisfying, and that is quite serious. Many thanks for all!

  • converse 2020年5月12日 上午4:36

    Thank you a lot for giving everyone an exceptionally spectacular chance to read articles and blog posts from this web site. It’s always so ideal plus full of a great time for me and my office co-workers to visit your site not less than 3 times in 7 days to learn the latest tips you will have. And lastly, I am just always pleased considering the unbelievable strategies served by you. Some 3 ideas in this posting are undeniably the finest we have all had.

  • red bottom shoes 2020年5月15日 上午7:57

    I would like to point out my appreciation for your kindness for people that need help with in this matter. Your real commitment to passing the solution all over came to be surprisingly invaluable and has continually empowered women like me to reach their aims. Your insightful report denotes so much to me and substantially more to my fellow workers. Thanks a ton; from all of us.

  • lebron 15 2020年5月21日 上午9:41

    I wish to show thanks to this writer for bailing me out of this type of predicament. Because of scouting throughout the internet and coming across basics which are not helpful, I thought my entire life was gone. Living without the solutions to the problems you have resolved as a result of your main article is a crucial case, as well as ones which could have adversely affected my entire career if I had not encountered the website. Your own personal mastery and kindness in taking care of a lot of things was useful. I don’t know what I would’ve done if I hadn’t come upon such a point like this. I am able to at this moment look forward to my future. Thanks a lot very much for this specialized and effective help. I won’t think twice to refer the sites to anyone who needs to have guide on this subject.

  • vapormax 2020年5月26日 上午11:07

    My husband and i felt very more than happy when Albert could carry out his analysis through your precious recommendations he had out of the web pages. It is now and again perplexing to simply always be giving for free ideas which often other folks have been trying to sell. And we also keep in mind we have got the blog owner to appreciate for this. Those illustrations you made, the easy blog navigation, the friendships you can assist to promote – it is everything impressive, and it’s really letting our son in addition to us understand the issue is brilliant, which is certainly especially vital. Thank you for the whole thing!

  • lebron james shoes 2020年5月29日 上午2:10

    Thanks so much for giving everyone an extremely wonderful chance to read from this site. It really is so nice and also stuffed with fun for me and my office fellow workers to visit your site nearly three times every week to find out the new guidance you have got. And of course, I’m so at all times fulfilled with all the effective concepts you serve. Selected 2 areas in this post are in fact the finest I have ever had.

  • lebron 17 2020年5月31日 上午10:29

    I enjoy you because of all your effort on this web site. Betty takes pleasure in conducting investigations and it is easy to see why. Most people know all regarding the compelling means you deliver precious tips through your blog and even strongly encourage contribution from other individuals about this theme plus our own simple princess is certainly discovering a whole lot. Take advantage of the remaining portion of the year. You are always carrying out a really great job.

  • nike foamposite 2020年6月2日 下午8:27

    Thank you for each of your efforts on this web site. My niece take interest in setting aside time for research and it’s really obvious why. Most people learn all relating to the powerful tactic you make simple solutions by means of the web blog and recommend response from people on this subject matter so my princess has always been learning a lot of things. Take pleasure in the rest of the new year. You are performing a splendid job.

联系我们

15555333984

在线咨询:点击这里给我发消息

邮件:lxa6@qq.com

工作时间:周一至周五,9:30-18:30,节假日休息

QR code