HTML5 概述及基本语法

 

  HTML5 概述及基本语法

https://cloud.tencent.com/developer/article/1560281

 前端开发天天必学之HTML入门介绍

https://cloud.tencent.com/developer/article/1650375

 网站基本结构

https://cloud.tencent.com/developer/article/1526092  


网页设计技术之HTML的基本结构说明

  • 标签中的属性

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 <head> :html

  <title> :标题标签,其内容显示在浏览器的顶部前端

  <meta> :网页的编码(注意用什么编码,文件就要用相应的编码保存)浏览器

                 如今:<meta charset="utf-8"/>也能够填GB2312或GBK工具

                 之前:<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>网站

                 为文档提供一些附加信息,可被浏览器、搜索引擎或网页制做工具使用的信息。如文档做者、网页有效期、关键字列表等  ui

                 设置格式  <meta name="参数"  content="参数值"/> 或  <meta http-equiv="参数" content="参数值"/>搜索引擎

             例:<meta name="keywords" content="binary trees,           linked lists, stacks"/> //设置关键字    编码

                    <meta name="Anthor" content="carson"/>//设置做者    url

                    <meta name="Generator" content="FrontPage"/>  //设置网页生成工具spa

              *http-equiv和name只能二取一

              *http-equiv主要是向浏览器传递一些信息

             *name则向搜索引擎和制做工具提供信息

             例:<meta http-equiv="Expires" content="Tue,08 Dec           2009 00:00:00GMT"/> //设置网页过时时间    

                   <meta http-equiv="refresh"           content="5;url=http://www.zhku.edu.cn"/>           //告诉浏览器5秒后网页刷新到zhku网站

               

  <body> :

相关文章
相关标签/搜索