重温WEB开发系列(二)HTML HEAD
生活随笔
收集整理的這篇文章主要介紹了
重温WEB开发系列(二)HTML HEAD
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
一個基本的web頁面基本構成,如下:
<html><head><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="description" content=""><meta name="author" content=""><base href="http://localhost:8080/">
<base target="_blank"><script type="text/javascript" src="js/loadWelcome.js"></script><script type="text/javascript">window.onload = getWelcome;</script><!-- Le styles --><link rel="stylesheet" href="css/bootstrap.css"><link rel="stylesheet" href="css/bootstrap-responsive.css" type="text/css"/><link rel="stylesheet" href="css/style.css" type="text/css"/><style type="text/css">body {padding-top: 60px;padding-bottom: 40px;}</style><title>Project Easel Demo</title></head><body></body> <html>
?
用程序員的話來講,<html><head>可以說是此WEB頁面的全局變量,此處定義的標簽對于整個頁面有效,以下是我對head的子標簽理解:
?
嗯,今天到此為止。
轉載于:https://www.cnblogs.com/yihome/p/restoreWebDevelop_2.html
總結
以上是生活随笔為你收集整理的重温WEB开发系列(二)HTML HEAD的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 在.net2.0中实现Action和Fu
- 下一篇: HDOJ(1115)多边形重心