zoukankan      html  css  js  c++  java
  • CSS简介

    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>CSS简介</title>


    </head>
    <hr>
    <head>
        <title>使用外部CSS</title>
        <link href="css/styles.css" type="text/css" rel="stylesheet"/>
    </head>
    <body>
    <h1>potatoes</h1>
    <p>There are dozens of different potatou varieties.They are usually described as early,second early and maincrop potatoes.</p>
    </body>


    <hr>
    <head>
        <title>使用内部CSS</title>
        <style type="text/css">
            body{
                font-family:arial;
            }
            h1{
                color:rgb(255,255,255)
            }
            </style>
    </head>
    <body>
    <h1>potatoes</h1>
    <p>There are dozens of different potato varieties. They are usually described as early, second early and maincrop potatoes.</p>
    </body>


    <hr>
    <head>
        <title>CSS选择器</title>
    </head>
    <body>
    <h1><a id="top"><font color="black">Kitchen Garden Calrndar</font></a></h1>
    <p id="introduction">Here you can read our handy guide about what to do when.</p>
    <h2><font color="black">Spring</font></h2>
    <ul>
        <li><a href="mulch.html">Spring mulch vegetable beds</a></li>
        <li><a href="potato.html">Plant out early potatoes</a></li>
        <li><a href="tomato.html">Sow tomato seeds</a></li>
        <li><a href="beet.html">Sow beet seeds</a></li>
        <li><a href="zucchini.html">Sow zucchini seeds</a></li>
        <li><a href="rhubarb.html">Deadhead rhubarb flowers</a></li>
    </ul>
    <p class="note">This page was written by<a href="mailto:jon@examole.org">jon@example.org</a>
        for<a href="http://www.wiley.com">wiley</a>.</p>
    <p><a href="#top">Top of page</a></p>
    </body>
    <hr>
    <head>
        <title>CSS规则如何联级</title>
        <style typy="txt/css">
            *{
                font-family:Arial,Verdana,sans-serif;}
            h1{
                font-family: "Courier New",Courier,minispace;}
            i{
                color:green;}
            i{
                color:red;}
            b{
                color: pink;}
            pb{
                color:blue !important;}
            pb{
                color: violet;}
            p#intro{
                font-size:100%;}
            p{
                font-size: 75%;}
        </style>
    </head>
    <body>
    <h1>potatoes</h1>
    <p id="intro">There are<i>dozens</i> of different<b>potato</b>varieties.</p>
    <p>They are usually described as early, second early and maincrop potatoes.</p>
    </body>


    <hr>
    <head>
        <head>
            <title>继承</title>
            <style type="text/css">
                body {
                    font-family: Arial, Verdana, sans-serif;
                    color: #665544;
                    padding: 10px;}
                .page {
                    border: 1px solid #665544;
                    background-color: #efefef;
                    padding: inherit;}
            </style>
        </head>
    <body>
    <div class="page">
        <h1><font color="black">Potatoes</font></h1>
        <p>There are dozens of different potato varieties.</p>
        <p>They are usually described as early, second early and maincrop potatoes.</p>
    </div>
    </body>


    </html> 

  • 相关阅读:
    IM开发快速入门(一):什么是IM系统?
    IM群聊消息的已读未读功能在存储空间方面的实现思路探讨
    Android保活从入门到放弃:乖乖引导用户加白名单吧(附7大机型加白示例)
    IM开发干货分享:我是如何解决大量离线消息导致客户端卡顿的
    LetsTalk_Android中引导用户加入白名单图-2
    LetsTalk_Android中引导用户加入白名单图
    基于Go的马蜂窝旅游网分布式IM系统技术实践
    2020年了,Android后台保活还有戏吗?看我如何优雅的实现!
    微信团队分享:极致优化,iOS版微信编译速度3倍提升的实践总结
    史上最通俗,彻底搞懂字符乱码问题的本质
  • 原文地址:https://www.cnblogs.com/max-hou/p/8530733.html
Copyright © 2011-2022 走看看