知識點16:標記語言HTML

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

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末路操,一起剝皮案震驚了整個濱河市,隨后出現(xiàn)的幾起案子咱扣,更是在濱河造成了極大的恐慌筒扒,老刑警劉巖,帶你破解...
    沈念sama閱讀 218,607評論 6 507
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件滥朱,死亡現(xiàn)場離奇詭異鞍历,居然都是意外死亡乌询,警方通過查閱死者的電腦和手機呀打,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 93,239評論 3 395
  • 文/潘曉璐 我一進店門矢赁,熙熙樓的掌柜王于貴愁眉苦臉地迎上來,“玉大人贬丛,你說我怎么就攤上這事撩银。” “怎么了豺憔?”我有些...
    開封第一講書人閱讀 164,960評論 0 355
  • 文/不壞的土叔 我叫張陵额获,是天一觀的道長。 經(jīng)常有香客問我恭应,道長抄邀,這世上最難降的妖魔是什么? 我笑而不...
    開封第一講書人閱讀 58,750評論 1 294
  • 正文 為了忘掉前任昼榛,我火速辦了婚禮境肾,結(jié)果婚禮上,老公的妹妹穿的比我還像新娘胆屿。我一直安慰自己奥喻,他們只是感情好,可當我...
    茶點故事閱讀 67,764評論 6 392
  • 文/花漫 我一把揭開白布非迹。 她就那樣靜靜地躺著环鲤,像睡著了一般。 火紅的嫁衣襯著肌膚如雪彻秆。 梳的紋絲不亂的頭發(fā)上楔绞,一...
    開封第一講書人閱讀 51,604評論 1 305
  • 那天,我揣著相機與錄音唇兑,去河邊找鬼酒朵。 笑死,一個胖子當著我的面吹牛扎附,可吹牛的內(nèi)容都是我干的蔫耽。 我是一名探鬼主播,決...
    沈念sama閱讀 40,347評論 3 418
  • 文/蒼蘭香墨 我猛地睜開眼留夜,長吁一口氣:“原來是場噩夢啊……” “哼匙铡!你這毒婦竟也來了?” 一聲冷哼從身側(cè)響起碍粥,我...
    開封第一講書人閱讀 39,253評論 0 276
  • 序言:老撾萬榮一對情侶失蹤鳖眼,失蹤者是張志新(化名)和其女友劉穎,沒想到半個月后嚼摩,有當?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體钦讳,經(jīng)...
    沈念sama閱讀 45,702評論 1 315
  • 正文 獨居荒郊野嶺守林人離奇死亡矿瘦,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點故事閱讀 37,893評論 3 336
  • 正文 我和宋清朗相戀三年,在試婚紗的時候發(fā)現(xiàn)自己被綠了愿卒。 大學(xué)時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片缚去。...
    茶點故事閱讀 40,015評論 1 348
  • 序言:一個原本活蹦亂跳的男人離奇死亡,死狀恐怖琼开,靈堂內(nèi)的尸體忽然破棺而出易结,到底是詐尸還是另有隱情,我是刑警寧澤柜候,帶...
    沈念sama閱讀 35,734評論 5 346
  • 正文 年R本政府宣布搞动,位于F島的核電站,受9級特大地震影響改橘,放射性物質(zhì)發(fā)生泄漏滋尉。R本人自食惡果不足惜,卻給世界環(huán)境...
    茶點故事閱讀 41,352評論 3 330
  • 文/蒙蒙 一飞主、第九天 我趴在偏房一處隱蔽的房頂上張望狮惜。 院中可真熱鬧,春花似錦碌识、人聲如沸碾篡。這莊子的主人今日做“春日...
    開封第一講書人閱讀 31,934評論 0 22
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽开泽。三九已至,卻和暖如春魁瞪,著一層夾襖步出監(jiān)牢的瞬間穆律,已是汗流浹背。 一陣腳步聲響...
    開封第一講書人閱讀 33,052評論 1 270
  • 我被黑心中介騙來泰國打工导俘, 沒想到剛下飛機就差點兒被人妖公主榨干…… 1. 我叫王不留峦耘,地道東北人。 一個月前我還...
    沈念sama閱讀 48,216評論 3 371
  • 正文 我出身青樓旅薄,卻偏偏與公主長得像辅髓,于是被迫代替她去往敵國和親。 傳聞我的和親對象是個殘疾皇子少梁,可洞房花燭夜當晚...
    茶點故事閱讀 44,969評論 2 355

推薦閱讀更多精彩內(nèi)容