美文网首页
知识点16:标记语言HTML

知识点16:标记语言HTML

作者: BryantHe | 来源:发表于2017-03-31 04:48 被阅读13次

Why is it called TD and not TC? Well, TD stands for table data. Usually you're putting your information there.

Then there's this concept of a div, which doesn't really fit in any particular category of tags like the ones I've been doing previously. It just sort of demarcates the beginning of some arbitrary division --div-- of the page. There's no visual break. There's no line. It's not set off as a separate chunk automatically. You'd have to style it that way to do that.

It just sort of says I want a piece of space on my web page, and I'm just going to call it this division of my page. We can put stuff inside of divs, and in fact, when we head over to IDE in a second, we'll see that I'm putting my form inside of a div.

One last comment before we move on to some other tags are to take a look at this input tag one more time.

This is called a self closing tag. It doesn't require an opening and a close because all of the information is contained inside the tag and its attributes.

So sometimes you'll see this, too. So just be aware that if you have a tag that is entirely self-contained, it opens and closes itself with the open angle bracket on the left and the slash angle bracket on the right.


Before we talk about images, we need to talk about hyperlinks. If we want our web page to be interactive and move us around, it would be nice be able to click on one of those what has typically been a blue link.


The last one is a comment tag, which looks slightly different, too.


The last rule with HTML that we're going to talk about here is that your HTML should be well formed.

The End

相关文章

  • 知识点16:标记语言HTML

    Why is it called TD and not TC? Well, TD stands for table...

  • 前端面试每日 3+1 —— 第144天

    今天的知识点 (2019.09.07) —— 第144天 [html] SGML(标准通用标记语言)和HTML(超...

  • 自己总结的知识点,不太全面,有错误的,欢迎指正!

    HTML知识点总结 html 超文本标记语言(结构层) 1.文档声明 段落标签 ...

  • HTML入门介绍(上)

    16/07/14 HTML的介绍 HTML指的是超文本标记语言(Hyper Text Markup Languag...

  • 爬虫(一)

    一,HTML标记语言 不是编程语言,是一种标识网页信息的符号标记语言 HTML标记语言是一套标记,HTML使用标记...

  • HTML知识点

    什么是HTML? HTML指的是超文本标记语言 HTML不是一种编程语言,而是一种标记语言 标记语言是一套标记标签...

  • 前端

    html文档等于网页HTML中文名超文本标记语言html不是编程语言是标记语言html可以使用标记标签展现网页 文...

  • HTML/XML/XHTML 各自区别

    HTML? HTML是用于创建网页的标准标记语言。 HTML代表超文本标记语言 HTML描述使用标记的网页的结构 ...

  • HTML知识点

    HTML知识点1.HTML、XML、XHTML 有什么区别HTML,超文本标记语言,是语法较为松散的、不严格的We...

  • 一篇文章学习html【经典案例】

    html叫做超本文标记语言,注意它只是标记语言,不是编程语言。 编写规范: 由标记(html, div, p, h...

网友评论

      本文标题:知识点16:标记语言HTML

      本文链接:https://www.haomeiwen.com/subject/hxsmottx.html