测试的小知识

      (2)分类   1、静态页面(页面内容是代码写死的)

                                                            (.html    .htm)

                          

 

  2、动态页面(页面内容是从数据库读的)

                   (.php)

                        (.aspx)

                            (.jsp)

                                                 代码

                          (3) DW    工作区    拆分

                                                        设计


 

                           (4)基础语法  1、 最小单元成为标签

                                                2、双标签元素 (由两个标签构成)

                                                           (<标签名 属性>内容</标签名>)

                                                           (作用:主要做为内容的容器)

                                                3、 单标签元素  (由一个标签构成)

                                                           (<标签名 属性>)

                                                           (<标签名 属性/>)

                                                           (作用:一般起控制性作用)

                                                4、注释语法    (<!--需要注释的文字-->)


 

                            (5)基础标签  1、<html></html>代表网页

                                                 2、<head></head>头标签:里面主要放控制性的东西
                                                 3、<body></body>主体标签:里面主要放网页内容

                                                 4、<meta> 编码格式  utf-8

                                                 5、<title></title>网页标题


 

网页 


     2、通用标签,属性(1)<body属性> 1、bgcolor  背景色

                                                       2、text  字体颜色  

                                                       3、backgroud  背景图片


 

                              (2)路径  1、绝对路径  从根开始的    /   某一个文件夹里面

                                             2、相对路径  从自身开始的   ./   当前目录

                                                                                   ../   上级目录

                                                                                     /   代表根


                              (3)格式控制类的 1、<font> color 字体颜色

                                                                        face 字体样式

                                                                        size 字体大小

                                                        2、<b> 加粗*

                                                        3、<i>  倾斜*

                                                        4、<u>  加下划线*

                                                        5、<strong>  (加强语气)加粗

                                                        6、<em>  (加强语气)倾斜

                                                        7、<br/>  换行**

                                                        8、&nbsp  空格**

 

posted on 2019-06-11 20:47  一杯清酒  阅读(127)  评论(0编辑  收藏  举报