zoukankan      html  css  js  c++  java
  • 项目图像

    可利用list-style-image属性将一个图像作为项目符号使用。

    <!DOCTYPE html>
    <!--
    To change this license header, choose License Headers in Project Properties.
    To change this template file, choose Tools | Templates
    and open the template in the editor.
    -->
    <html>
        <head>
            <title>TODO supply a title</title>
            <meta charset="UTF-8">
            <meta name="viewport" content="width=device-width, initial-scale=1.0">
            <style type="text/css">
                ul {
                    list-style-image: url("images/star.png");
                }
                li {
                    margin: 10px 0px 0px 0px;
                }
            </style>
        </head>
        <body>
            <div>TODO write content</div>
            <h1>该属性的值以字母url开头,后面跟着一对圆括号。</h1>
            <ul>
                <li>属性</li>
                <li>姓名</li>
                <li>图像</li>
                <li>个人爱好</li>
                <li>个人特长</li>
            </ul>
        </body>
    </html>
    
  • 相关阅读:
    局域网组网总目录
    VLAN之间的通信
    DHCP
    ACL
    linux 程序后台运行
    VLAN
    VTP
    dubbox生产者与消费者案例
    String data jpa执行的增删改查
    StringBoot整合Mytais实现数据查询与分页
  • 原文地址:https://www.cnblogs.com/q2546/p/9441348.html
Copyright © 2011-2022 走看看