No.1 html

学习了html的一些基本标签:

1.基本骨架:

<html>

    <head>
        <title>网页标题</title>
    </head>
    
    <body>
        网页主要内容
    </body>

</html>

2.标签关系:

父子/嵌套

兄弟/继承

3.常见标签:

段落标签    <p> </p>
水平线标签   <hr>
换行标签    <br>
加粗    <strong>
倾斜    <em>
下划线    <ins>
删除线    <del>
图像标签        <img src="ucl">

alt         替换

title        提示

width       

height

<a href="#"> 超链接

<audio src="url"></audio>音频

<video src="url"></video>视频

autoplay/controsl/loop/muted

列表

ul>li        无序

ol>li        有序

dl>dt+dd        定义

表格  

<table>

        <tr>

                <th></th>        

        </tr>

        <tr>

                <td></td>

        </tr>

</table>

表单:

<input type="">

        text password radio checkbox file

placeholder

<select name="' id="">

        <option value="">选项</option>

</select>

label

<button type="">按钮</button>

        submit reset button

form提交        <form> </form>

div 独占一行

span 不换行

&nbsp; 空格

&lt  <

&gt >

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值