【前端】02/01/2018

这可是我第一次正式尝试用markdown写博客啊


小菜鸡昨天也有小进展~
(抽完血简直疼的不能打字)

首先睿睿带我回顾了一下html和一些其他的功能。
首先是有序列表 无序列表


有序列表

 <ol>
        <li>example</li>
        <li>2</li>
        <li>3</li>
 </ol>

无序列表

<ul>
        <li>planet</li>
        <li>stars</li>
</ul>

【很糟心的就是<>中间的字符无法用markdown打出来。。。】


学会了一个快捷键:ctrl+?
可以打出注释,大概就是这样的,手动也可以哦

<!-- -->


input是输入

    <input type="password">

在这里,password是密码,也就是我们经常使用的密码框


这是和投票一样的,radio是圆形的,checkbox是方形的,checked默认选中

    <input type="radio" name="answer">yes
    <input type="radio" name="answer">no
    <input type="checkbox"checked>ok

button就是按钮

    <button>提交 </button>

昨天在阿睿的带领下学了一些css,css真的有好多功能啊真好玩hhh
css中就不是写在body里啦,是写在head里的


标签选择器
font-family:”字体”

<style>
h1{
font-family:"微软雅黑"
}
    .core{
        font-family: "微软雅黑";
        color:#0000ff;
        font-size: ""
    }
    #123{
        font-size: 20px
    }

还有id选择器

    .core{
        font-family: "微软雅黑";
        color:#0000ff;
        font-size: ""
    }
    #123{
        font-size: 20px
    }
  <h1>陈睿开心的要死</h1>
    <h1 class="core">stone</h1>
    <ul>
        <li>planet</li>
        <li>stars</li>

    </ul>
    <ol>
        <li>example</li>
        <li>2</li>
        <li>3</li>
    </ol>


    <input type="password">
    <input type="radio" name="answer"id="123">yes
    <input type="radio" name="answer">no
    <input type="checkbox"checked>m
    </checked>
    <button>提交 </button>
    <!-- radio:单选框 -->
    <!-- ul:unorder list -->

今天没学习~明天继续啦
某人记得好好学习~

猜你喜欢

转载自blog.csdn.net/qq_41033519/article/details/79239786