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'>

最新文章

  1. java 开发中经常问到得懒汉模式 (单利模式)
  2. Docker Dockerfile详解
  3. python3 入门 (三) 函数与lambda表达式、闭包
  4. javascript中json解密
  5. Android仿计算器界面
  6. [NYOJ 536] 开心的mdd
  7. 33个优秀的HTML5应用演示 (转)
  8. 用数据库管理SERV-U的用户时,如何修改密码及原理
  9. 武汉科技大学ACM:1007: 文本编辑器
  10. 【UVA 11997 K Smallest Sums】优先级队列
  11. Java核心技术,让计算机&quot;一芯多用&quot;的多线程技术
  12. Windows phone 8 学习笔记(1) 触控输入
  13. ASP.NET弹出提示点击确定之后再跳转页面的方法
  14. Inno Setup入门(十二)&mdash;&mdash;Pascal脚本(1)
  15. 腾讯实习面经(offer)
  16. 9 C. Hexadecimal&#39;s Numbers
  17. IE下iframe跨域session和cookie失效问题的解决方案
  18. redis的数据持久化方案
  19. Django 中间件版登录验证
  20. C# 密封类使用sealed修饰

热门文章

  1. robotframework笔记19
  2. 通过Sql语句导数据
  3. JavaWeb基础:Servlet
  4. PHP + Memcache 实现多服务器session共享
  5. NPOI相关
  6. 最小生成树练习1(克鲁斯卡尔算法Kruskal)
  7. 3.1 关系数据库标准语言SQL综述
  8. 登陆验证前对用户名和密码加密之后传输数据---base64加密
  9. BZOJ1230 [Usaco2008 Nov]lites 开关灯
  10. Cookie实例,理解cookie