html

来源:互联网 发布:淘宝网秋季黑白道长裙 编辑:程序博客网 时间:2024/06/16 23:20

html元素(标签)

<!DOCTYPE html><html>    <head> <!-- 头标签用于存放<meta><title>等标签 -->    <meta charset="utf-8"> <!-- 设置编码 -->    <title>html5</title> <!-- 设置标题 -->    <link rel="stylesheet" type="text/css" href="mystyle.css"><!-- 定义了外部文件 -->    <style type="text/css"></style> <!-- 样式 -->    <script></script> <!-- javascript脚本 -->    </head>    <body> <!-- 用户所收到的页面 -->        <p>段落标签</p>        <a href=""  target="_blank"> target="_blank"</a>        <img src="url" alt="" height="" width=""> <!-- 图片标签 -->        <hr> <!-- 定义水平线 -->        <br> <!-- 换行 -->        <table border="1"> <!-- 表格 -->            <tr>                <td>row 1, cell 1</td>                <td>row 1, cell 2</td>            </tr>            <tr>                <td>row 2, cell 1</td>                <td>row 2, cell 2</td>            </tr>        </table>        <ul> <!-- 无序列表 <ol>是有序列表 <dl>自定义列表-->            <li></li>        </ol>            <li>元素1</li>            <li>元素2</li>        </ul>        <div></div> <!-- 块级元素 -->        <span></span> <!-- 内联元素 -->        <form><input type="" name=""></form> <!-- 表单 -->        <iframe src="URL"></iframe> <!-- 框架 -->    </body></html>

表单input

http://write.blog.csdn.net/mdeditor
input type

原创粉丝点击