1. 首页
  2. HTML

什么是HTML?

HTML(HyperText MarkUp Language)超文本标记语言,通过使用标记来描述文档结构和表现形式的一种语言,由浏览器进行解析,然后把结果显示在网页上. 它是网页构成的基础,你见到的所有网页都离不开HTML,所以学习HTML是基础中的基础.

不要相信任何所谓程序员说的:“HTML是用来做网页的”。

这句话正确的描述是:“HTML是用于描述超文本的,网页是一个超文本资源节点”。

HTML和网页本无联系。

HTML是什么

什么是HTML?

HTML是用来制作网页的标记语言

  • HTML是Hypertext Markup Language的英文缩写, 即超文本标记语言
  • HTML语言是一种标记语言,不需要编译,直接由浏 HTML语言是一种标记语言,不需要编译,直接由浏览器执行
  • HTML文件是一个文本文件,包含了一些HTML元素, HTML文件是一个文本文件,包含了一些HTML元素,标签等.
  • HTML文件必须使用html或htm为文件名后缀
  • HTML是大小写不敏感的,HTML与html是一样的

Html和CSS的关系

学习web前端开发基础技术需要掌握:HTML、CSS、JavaScript语言。下面我们就来了解下这三门技术都是用来实现什么的:

1. HTML是网页内容的载体。内容就是网页制作者放在页面上想要让用户浏览的信息,可以包含文字、图片、视频等。

2. CSS样式是表现(外观控制)。就像网页的外衣。比如,标题字体、颜色变化,或为标题加入背景图片、边框等。所有这些用来改变内容外观的东西称之为表现。

3. JavaScript是用来实现网页上的特效效果。如:鼠标滑过弹出下拉菜单。或鼠标滑过表格的背景颜色改变。还有焦点新闻(新闻图片)的轮换。可以这么理解,有动画的,有交互的一般都是用JavaScript来实现的。

学习HTML困难吗?

可能你以为制作一个网站很难,但事实并非如此!制作网站其实是很简单的事情,就像你编辑word文档,文字加粗,文字改变颜色,添加背景,文字居中,插入图片等等,在网页上只不过你把你的这些操作使用HTML语言来表示罢了。假如你认真学习本课程的话,你将能10分钟入门,30分钟做一个简单的网页,1小时制做一个网站。

关于HTML文档的后缀名

我们知道HTML文件的后缀名有.htm和.html,出现2个后缀的原因是过去的老软件只支持3个字母的后缀,所以.html的文件只能写成写成.htm,这是长久以来形成的习惯. 当然现在不存在软件不支持的情况,使用哪种后缀看你的喜好.

让计算机显示后缀名

1.如果是Windows7系统,双击打开桌面上的”计算机”. 如果是XP系统双击打开桌面上的”我的电脑”

2.点击菜单的”工具”按钮打开”文件夹选项”.

什么是HTML?

3.点击查看按钮, 取消”隐藏已知的文件、文件夹和驱动器”选项

什么是HTML?

第一个HTML

打开windows的记事本,粘贴以下代码

1
2
3
4
5
6
7
8
<html
<head>
    <title>网页标题</title>
</head>
<body>
    <p>第一个HTML文件</p>
</body>
<html>

点击记事本菜单的”文件”按钮打开”另存为”对话框,填写文件名为”First.html”

什么是HTML?

双击打开这个HTML文件,显示结果如图:

什么是HTML?

HTML开发工具

正常情况下估计你已经拥有所需要的所有的工具了。浏览器(browser)它是用于浏览网站的程序。关于游览器有很多可供选择,最普及的浏览器当属微软(Microsoft)公司的 Internet Explorer(IE),其他的一些浏览器包括  Chrome(谷歌)、Firefox(火狐)等。这些浏览器的基本功能都是浏览网页,因此具体使用哪个浏览器是无所谓的。

需要注意的是搜狗浏览器,360浏览器他们使用的是IE和谷歌浏览器的内核,只是做了界面和增加他们的一些功能,实际上还是IE或谷歌浏览器.

编写HTML文档的工具很多,也许你听说过Notepad++、EditPlus等文本编辑器。甚至用过一些专业的HTML网页制作工具dreamweaver,现在可以忘掉这些程序了!它们对你学习网页制作没有什么帮助。相反,你需要的是一个简易的文本编辑器。如果你正在使用 Windows (微软视窗)操作系统的话,你可以使用它自带的记事本(Notepad)程序。你可以依次点击“ 开始菜单→程序→附件”找到记事本

什么是HTML?

说明: Dreamweaver网页制作工具功能强大,带语法下拉菜单提示,在实际开发中可以节约开发时间.但是你是学习HTML最好使用记事本或EditPlu这种简单的文本编辑器,把HTML代码完整一个一个的打出来,这样有利于你的记忆. 但是为了便于演示,后面的课程我们使用dreamweaver的插图.

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

发表评论

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

评论列表(16条)

  • 零久SEO 2019年5月2日 下午12:42

    这是一篇关于什么是HTML的文章,初学者可以看一下的。

  • hogan outlet 2020年2月22日 上午3:23

    I and also my guys came studying the best advice found on your web page and immediately came up with an awful feeling I never thanked the site owner for those secrets. The women became warmed to read through all of them and now have actually been making the most of these things. Thanks for turning out to be really accommodating and for having certain excellent information most people are really eager to discover. My very own honest apologies for not expressing appreciation to you sooner.

  • supreme clothing 2020年2月24日 下午6:58

    I want to express some thanks to you for rescuing me from this type of incident. Right after checking throughout the internet and meeting ways that were not beneficial, I thought my entire life was done. Existing devoid of the solutions to the issues you’ve solved through your main guide is a critical case, and the kind that might have badly affected my entire career if I hadn’t come across your website. Your good competence and kindness in maneuvering the whole thing was invaluable. I don’t know what I would’ve done if I hadn’t discovered such a subject like this. It’s possible to at this moment relish my future. Thanks a lot so much for your impressive and results-oriented guide. I won’t think twice to endorse the sites to anyone who would need tips on this area.

  • louboutin shoes 2020年2月27日 上午8:11

    I am only commenting to let you know what a awesome experience our princess went through going through your web page. She picked up plenty of pieces, with the inclusion of what it is like to possess an ideal teaching mood to let many others really easily grasp specific advanced issues. You truly surpassed our expected results. I appreciate you for delivering the powerful, safe, informative as well as cool thoughts on the topic to Julie.

  • retro jordans 2020年3月1日 上午4:19

    I together with my buddies were found to be studying the best tips found on your web blog while suddenly got an awful feeling I had not expressed respect to the web site owner for those techniques. Most of the men are already consequently glad to see them and have in effect in actuality been taking advantage of them. Appreciation for really being very thoughtful and then for going for certain really good tips millions of individuals are really desperate to discover. My personal honest apologies for not expressing appreciation to you earlier.

  • coach handbags 2020年3月3日 下午7:46

    My husband and i ended up being absolutely delighted Louis could complete his investigation through the entire precious recommendations he discovered through the web page. It is now and again perplexing to simply always be giving away techniques which often men and women have been selling. And we see we have the website owner to give thanks to because of that. The illustrations you’ve made, the straightforward blog menu, the friendships you help to engender – it’s all awesome, and it’s facilitating our son in addition to the family imagine that this issue is exciting, and that’s exceedingly important. Thanks for all the pieces!

  • golden goose shoes 2020年3月6日 上午5:36

    I not to mention my buddies happened to be reading through the good guides on your web site while then got a horrible feeling I had not thanked the blog owner for those tips. Those young men were for this reason happy to read them and already have unquestionably been making the most of these things. Appreciation for turning out to be so accommodating as well as for picking out this kind of incredible topics most people are really needing to discover. Our own honest apologies for not saying thanks to sooner.

  • supreme 2020年3月8日 下午7:39

    I really wanted to make a quick remark in order to say thanks to you for all of the wonderful recommendations you are writing here. My rather long internet lookup has now been paid with reputable insight to write about with my friends and family. I ‘d point out that we visitors are really blessed to exist in a fantastic community with very many outstanding individuals with helpful solutions. I feel very privileged to have come across your entire website page and look forward to some more cool moments reading here. Thank you once more for everything.

  • supreme clothing 2020年3月11日 上午7:46

    I wish to show some thanks to this writer for rescuing me from this type of instance. Right after browsing through the the net and meeting notions which are not pleasant, I figured my entire life was done. Being alive without the answers to the issues you’ve fixed by means of the website is a serious case, as well as the kind which might have negatively damaged my career if I had not discovered your web blog. The mastery and kindness in maneuvering the whole thing was helpful. I’m not sure what I would’ve done if I had not discovered such a solution like this. I am able to at this moment relish my future. Thanks a lot very much for the reliable and results-oriented guide. I will not be reluctant to endorse your web page to any person who would need guide on this area.

  • retro jordans 2020年3月12日 上午4:32

    I wish to convey my passion for your generosity giving support to folks that really want assistance with that field. Your special commitment to getting the message along had been definitely advantageous and has in most cases permitted guys and women much like me to attain their ambitions. Your new useful information means much to me and especially to my fellow workers. With thanks; from everyone of us.

  • yeezy boost 2020年3月15日 上午4:47

    I am commenting to let you be aware of of the awesome experience my wife’s girl obtained viewing your web page. She picked up too many things, not to mention what it is like to have an ideal giving character to get most people really easily thoroughly grasp various tricky issues. You actually surpassed our own expected results. Many thanks for imparting the invaluable, trustworthy, informative and in addition unique tips about this topic to Mary.

  • nike shoes 2020年3月17日 下午8:29

    I’m commenting to make you know what a impressive encounter my wife’s daughter enjoyed going through your blog. She learned a wide variety of details, not to mention what it is like to have an amazing giving spirit to make other people quite simply gain knowledge of selected complicated subject areas. You actually exceeded my expected results. Thank you for showing those invaluable, healthy, explanatory and in addition fun thoughts on that topic to Mary.

  • curry 4 2020年3月20日 上午9:04

    I wish to voice my gratitude for your generosity supporting folks that actually need help on this question. Your very own commitment to getting the message up and down came to be astonishingly useful and have frequently empowered many people like me to realize their objectives. This useful hints and tips can mean a whole lot a person like me and still more to my office workers. Thanks a ton; from each one of us.

  • jordan sneakers 2020年3月23日 上午5:50

    Thanks so much for giving everyone an extraordinarily special chance to read from here. It is always very brilliant and also jam-packed with a good time for me and my office fellow workers to visit your website at minimum thrice a week to study the fresh items you have got. And lastly, we are usually amazed with your incredible suggestions served by you. Some 4 tips in this posting are rather the most impressive we have ever had.

  • golden goose sneakers 2020年3月26日 上午1:48

    My spouse and i ended up being now comfortable that Peter could finish off his investigation by way of the precious recommendations he made out of your web page. It’s not at all simplistic to simply choose to be giving away tips and tricks which usually other people have been making money from. And we consider we now have you to give thanks to for this. The most important illustrations you’ve made, the simple website navigation, the relationships you assist to instill – it’s got many exceptional, and it is letting our son and our family know that this idea is enjoyable, which is certainly quite mandatory. Thanks for all!

  • yeezy 2020年3月29日 上午6:07

    I really wanted to make a small message to be able to say thanks to you for some of the splendid points you are showing on this site. My extensive internet search has at the end of the day been recognized with reputable tips to talk about with my best friends. I would point out that most of us site visitors actually are extremely endowed to be in a useful site with many special people with very helpful opinions. I feel really happy to have discovered the web site and look forward to so many more pleasurable times reading here. Thanks a lot once again for a lot of things.

联系我们

15555333984

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

邮件:lxa6@qq.com

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

QR code