博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
2016 - 1 -19 初学HTML5 第一天
阅读量:5236 次
发布时间:2019-06-14

本文共 1334 字,大约阅读时间需要 4 分钟。

1.HTML COMMANDS

MHTL commands called elements.Usually, an element has a start tag and an end tag

e.g. <p>.....</p>

2.HMTL PAGE STRUCTURE

<!DOCTYPE html>

<html>

<head>---------Here is head section,and it is basically some kind of information that u don't see on the web page.

....head elements here

</head>

 

<body> ----------- The body section is more things u see on the web page !

..... the main web page content goes here

</body>

 

</html>

3.A VERY SIMPLE WEB PAGE

<!DOCTYPE html>

<html>

<head>

              <title>A Simple Web Page</title> 

              <meta name = "author" content = "David  Rossiter">

</head>

 

<body>

              <h1>My Web Page</h1>------<h1> means level 1 heading

              <p>This web page is so awesome!</p>--------<p>means paragraph

</body>

</html>

4.CODE THAT GOES IN HEAD

              <title>A Simple Web Page</title> 

              <meta name = "author" content = "David  Rossiter">

  4.1 Anything in <head> is information about the web page , and does not usually get shown in the page.

So,the two lines state the title and the author.

  4.2 All the information is told to the browers!

5.ATTRIBUTES

 1.U need to use speech marks for any HMTL arributes,also the doule speech mark  and the single speech mark are fine for browers.

            e.g.  <meta name = "author" content = "David  Rossiter"> or 

              <meta name = 'author' content = 'David  Rossiter'>

 

转载于:https://www.cnblogs.com/BJTUzhengli/p/5143811.html

你可能感兴趣的文章
【原】移动web页面使用字体的思考
查看>>
xp sp3安装IIS
查看>>
解决IE6浏览器下PNG图片无法正常显示的问题
查看>>
JDK安装与环境变量配置
查看>>
【动态规划】skiing
查看>>
java定时器的使用(Timer)
查看>>
Cocos2d-x官方在线视频-Cocos2d-x3.2《2048》手游开发揭秘
查看>>
print横向打印数据
查看>>
APP上架流程
查看>>
虚拟机出现“操作文件.PhysicalDrive1失败”的解决方法
查看>>
虚拟交换系统-VSS
查看>>
UNL/EVE关联putty和wireshark
查看>>
考研数据结构-顺序表(基本操作)
查看>>
14_01__shmGetZ
查看>>
ant-design学习准备_1
查看>>
Win7 IIS7.5+PHP Manager安装配置PHP5+Mysql教程
查看>>
工具-VS常用快捷键
查看>>
牛客 216D 消消乐 (二分图最小点覆盖)
查看>>
详解Linux服务器最大tcp连接数
查看>>
mssql sqlserver 视图如何加密,让第三方用户查看不到其中的SQL语句
查看>>