• 2nd Week


    HTML代码 网页链接+文件下载链接+表格+表单 
    <!DOCTYPE html>
    <html>
        <head>
    <meta charset="UTF-8">
            <title>一个网页</title>
        </head>
        <body>
            <h1>这是一个网页</h1>
            <p>在当前窗口打开链接
                <a href="http://www.baidu.com" title="百度">百度</a>
            </p>
            <p>在新窗口中打开链接
                <a href="http://www.baidu.com" target="_blank">百度</a>   
                <a href="http://www.baidu.com" website="百度">百度</a>
            </p>
            <h2>文件下载链接</h2>
            <p>链接到TXT(直接打开)
                <a href="demo.txt">链接</a>
            </p>
            <p>连接到pdf(打开或下载)
                <a href="demo.pdf">链接</a>
            </p>
            <p>连接到RAR(直接下载)
                <a href="demo.rar">链接</a>
            </p>
            <p>网站链接
                <a href="web2.html" title="链接">链接</a>
            </p>
            <ol>
                <li>First,eat</li>
                <li>Second,sleep</li>
            </ol>
            <ul>
                <li>First,eat</li>
                <li>Second,sleep</li>
            </ul>
            <img src="images/apple.jpg" width="30%" alt="Apple Image" title="Apple">
            <table>
                <tr>
                    <th>1</th>
                    <th>2</th>
                    <th>3</th>
                    <th>4</th>
                </tr>
                <tr>
                    <th>a</th>
                    <th>b</th>
                    <th>c</th>
                    <th>d</th>
                </tr>
            </table>
            <form action="action_page.php">
            <p>性别(单选)
                <br>
                    <input type="radio" name="sex" value="male" checked>Male
                    <br>
                    <input type="radio" name="sex" value="female">Female
            </p>
            <p>爱好(多选)
                <br>
                    <input type="checkbox" name="爱好" value="1">游泳<br>
                    <input type="checkbox" name="爱好" value="2">骑行<br>
                    <input type="checkbox" name="爱好" value="3">跑步<br>
                    <input type="checkbox" name="爱好" value="3">足球<br>
            </p>
            <p>
                    First name:<br>
                    <input type="text" name="firstname" value="firstname">
                    <br>
                    Last name:<br>
                    <input type="text" name="lastname" value="lastname">
                    <br><br>
                    <input type="submit" value="Submit">
            </form>
            </p>
        </body>
    </html>
  • 相关阅读:
    射频系统架构
    Tensorflow 2.0 mnist
    Lintcode 32. 最小子串覆盖 && Leetcode 76. Minimum Window Substring
    内存管理之智能指针unique_ptr&weak_ptr
    内存管理之智能指针shared_ptr
    内存管理之直接内存管理
    c++ 三大特性之继承
    稀疏矩阵乘法
    Linux环境下mysql常用命令
    字符串的查找删除
  • 原文地址:https://www.cnblogs.com/flyingcarp/p/9678405.html
Copyright © 2020-2023  润新知