当前位置: 首页 > HTML
  • HTML元素的默认CSS设置

    /**default css style**/
    html, address,
    blockquote,
    body, dd, div,
    dl, dt, fieldset, form,
    frame, frameset,
    h1, h2, h3, h4,
    h5, h6, noframes,
    ol, p, ul, center,
    dir, hr, menu, pre { display: block }
    li { display: list-item }
    head { display: none }
    table { display: table }
    tr { display: table-row }
    thead { display: table-header-group }
    tbody { display: table-row-group }
    tfoot { display: table-footer-group }
    col { display: table-column }
    colgroup { display: table-column-group }
    td, th { display: table-cell; }
    caption { display: table-caption }
    th { font-weight: bolder; text-align: center }
    caption { text-align: center }
    body { margin: 8px; line-height: 1.12 }
     

    阅读全文
    作者:驽鸟 | 分类:电脑网络 | 标签:, ,
  • HTML代码

    <! – – … – -> 批注
    <!> 跑马灯
    <marquee>…</marquee>普通卷动
    <marquee behavior=slide>…</marquee>滑动
    <marquee behavior=scroll>…</marquee>预设卷动
    <marquee behavior=alternate>…</marquee>来回卷动
    <marquee direction=down>…</marquee>向下卷动
    <marquee direction=up>…</marquee>向上卷动
    <marquee direction=right></marquee>向右卷动
    <marquee direction=left></marquee>向左卷动
    <marquee loop=2>…</marquee>卷动次数
    <marquee width=180>…</marquee>设定宽度
    <marquee height=30>…</marquee>设定高度
    <marquee bgcolor=FF0000>…</marquee>设定背景颜色
    <marquee scrollamount=30>…</marquee>设定卷动距离
    <marquee scrolldelay=300>…</marquee>设定卷动时间

    阅读全文
    作者:驽鸟 | 分类:电脑网络 | 标签:,