<em id="hanht"></em>

    <dd id="hanht"></dd>

    <em id="hanht"><acronym id="hanht"></acronym></em>
    
    <button id="hanht"></button>
    <rp id="hanht"><object id="hanht"><blockquote id="hanht"></blockquote></object></rp><em id="hanht"></em>

    首頁 > 設計 > 網頁設計 > 正文

    網頁經典代碼3

    2018-10-16 20:51:32
    字體:
    來源:轉載
    供稿:網友

    網頁經典代碼(三)
     
    13.內框架<IFRAME>使用
    Iframe標記的使用格式是:   
    <iframe src="URL" width="x" height="x" scrolling="[OPTION]" frameborder="x"
    name="main"></iframe>
    src:文件的路徑,既可是HTML文件,也可以是文本、ASP等;   
    width、height:"內部框架"區域的寬與高;   
    scrolling:當SRC的指定的HTML文件在指定的區域不顯不完時,
    滾動選項,如果設置為NO,則不出現滾動條;如為Auto:則自動出現滾動條;
    如為Yes,則顯示;  FrameBorder:區域邊框的寬度,為了讓“內部框架“與鄰近的內
    容相融合,常設置為0。
    name:框架的名字,用來進行識別。
    比如:  當你想用父框架控制內部框架時,可以使用: target="框架的名字"來控制。
     
    例子:<iframe name="mm" src="olling="no"></iframe>
     
    14.自動跳轉
    在源代碼中的<head>…</head>加入如下代碼:
    <meta http-equiv="refresh"content="3;URL=http://www.e3i5.com; charset=gb2312
    ">
    說明:content="3 表示3秒刷新到URL
     
    15.如何改變鏈接的鼠標形狀
    只需在鏈接上加上這一代碼就行的了
    或者跟上面的用CSS寫也行
    style="cursor:hand"       style="cursor:crosshair"
    style="cursor:text"       style="cursor:wait"
    style="cursor:move"       style="cursor:help"
    style="cursor:e-resize"     style="cursor:n-resize"
    style="cursor:nw-resize"     style="cursor:w-resize"
    style="cursor:s-resize"     style="cursor:se-resize"
    style="cursor:sw-resize"
    以上代碼你只需要加到連接或是頁面的STYLE區里就可以實現鼠標多樣化。
    16.全屏顯示
    <form>
    <div align="center">
    <input type="BUTTON" name="FullScreen" value="全屏顯示" >
    </div> 

    </form>
    把它放到<body>區中

    本文作者:
    發表評論 共有條評論
    用戶名: 密碼:
    驗證碼: 匿名發表