Heim  >  Artikel  >  Web-Frontend  >  day01 html_html/css_WEB-ITnose

day01 html_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-21 08:56:04967Durchsuche

文件标签:

        text:文本的颜色

        bgcolor:背景颜色

        background:背景图片

块标签:

        div,span区别:

                    div换行,span不换行

列表标签:

        ul:无序列表   type: disc (实心圆) ,circle(空心圆),square (方块)

        ol:有序列表

        li :列表项

<ul type="disc"> <li>苹果</li> <li>香蕉</li> <li>柠檬</li> <li>桔子</li></ul>
<ol type="A"> <li>苹果</li> <li>香蕉</li> <li>柠檬</li> <li>桔子</li></ol>

   dl:自定义列表

       dt:列表头

   dd:列表项

图形标签:

  day01 html_html/css_WEB-ITnose  

     title:文字提示(alt)

链接标签:

  a:链接标签

   hred:链接地址

   target:页面打开方式。  new,_blank新打开窗口,_self默认当前窗口打开

表格标签:

       caption:表格的标题

        单元格合并:

               rowspan:跨行合并单元格

               colspan:合并同一行内的单元格

表单标签:

                maxlength:字符的个数

               type = "radio"  单选框

                type = "checkbox"  复选框

  下拉框:

<select name = "country">	<option value = "China" selected = "true">中国</option>	<option value = "Japan">日本</option>	<option value = "American">美国</option></select>

               type = "file"  文件框

文本域

 <td>    <textarea name="bj"></textarea> </td>

具有提交功能的图片按钮 

type = "image"

<input type="image" src="img.jpg" alt="图片按钮">

特殊字符与框架:

    ©;(版权)       >;(大于号)      <;(小于号)

  框架(呵呵)    如果我们要用框架标签:就不能用body标签。    frameset	    :整体的布局。		rows:水平布局		cols:垂直布局。    frame			:具体的显示。        name:规定一个名字,做了一个标记。        src:要引入页面的地址。


Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn