2020.12.22.余宝凤

1.知识点总结

1.1列表

(1).有序列表

type属性用来指定有序列表的序列类型
1 表示序号使用 阿拉伯数字 默认值
a/A 使用小写/大写 英文字母做序号
i/I 使用小写/大写 罗马数字

        <ol type=“I”>
            <li>嘿/li>
        </ol>

(2)无序列表
type 列表前序号类型
square 方形

disc 实心圆 默认值
circle 圆

    <ui type=“circle”>
        <li>哈</li>
    </ui>

(3)描述列表

<dl>
    <dt>嘿</dt>
    <dd>哈</dd>
</dl>

1.2表格

表格由

标签来描述。

表示行,

表示列。

border 表格边框

width 宽度
cellspacing 单元格之间的空隙
cellpadding 单元格内边距/内填充

th标签中的内容 默认会加粗,居中显示

合并单元格:colspan 合并列,rowspan 合并行

   <table border="1" width="800px" cellspacing="0" cellpadding="0">
       <tr>
         <td>1</td>
         <td>哈</td>
       </tr>

1.3表单

为用户输入提供HTML表单。

·

input 输入框, type用来指定其类型
value 用于指定其值 readonly 属性表示只读 disabled禁用
required 必填 placeholder 默认提示文字

单选或者多选框,通过名称将多个input 绑定成一组 , checked属性,默认选中。

<form action="#" method="get">
    文本框:<input type="text" value="12" readonly="readonly" disabled="disabled"/>   <br />
    密码框:<input type="password" required="required" placeholder="请输入密码"/> <br />
    颜色:<input type="color" /> <br />
    单选框:<input type="radio" name="gender"/>男
           <input type="radio" name="gender" checked="checked"/>女
                    <br/>
    多选框:<input type="checkbox" name="hobby"/>看书
        <input type="checkbox" name="hobby" checked="checked" />写代码
                    <br />
    下拉列表:<select>
            <option>青海省</option>
            <option selected="selected">陕西省</option>
            </select>   
            <br/>
    文本域:<textarea cols="20" rows="5"></textarea>        
            <br/>
            <button type="button">普通按钮</button>
            <input type="button" value="普通按钮" />
            <br />
            <button type="submit">提交按钮</button>
            <input type="submit" value="提交按钮" />
            <br />
            <!-- 重置为初始状态,并不是清空 -->
            <button type="reset">重置按钮</button>
            <input type="reset" value="重置按钮" />
        </form>

1.4音乐 /视频

audio表示音频 ; src 指定音频源 ;controls播放器控制按钮 ;autoplay 自动播放 chrome浏览器在新的版本中禁用了网页自动播放;muted 静音

1.5css

1.引入echarts的js,引入 echarts 主题

2.容器

3.echarts 配置,指定图表的配置项和数据

4.设置 option

1.6数据库

1.关系型数据库

1.7mysql的安装

2.心得体会

老师讲的东西越来越难了,但是我也在认真听课,学到的东西让我受益很多。可是今天的内容听的还是没有昨天的好,讲css的时候,我觉得我好像听的稀里糊涂的。不是很明白。老师,我的心情很压抑。作业很多,课业繁重,期末压力很大。就到这吧。

标签

评论


© 2021 成都云创动力科技有限公司 蜀ICP备20006351号-1