2023-08-07T15:09:23.png

2023-08-07T15:17:09.png

html

<!DOCTYPE html>
<html>
<head>
    <title>搜索引擎分类</title>

</head>
<body>
    <div class="category">
        <h2>通用搜索引擎</h2>
        <ul>
            <li><a href="#">Google</a></li>
            <li><a href="#">Bing</a></li>
            <li><a href="#">Yahoo</a></li>
            <!-- 添加更多通用搜索引擎 -->
        </ul>
    </div>

    <div class="category">
        <h2>图片搜索引擎</h2>
        <ul>
            <li><a href="#">Google Images</a></li>
            <li><a href="#">Bing Images</a></li>
            <li><a href="#">Pinterest</a></li>
            <!-- 添加更多图片搜索引擎 -->
        </ul>
    </div>

    <div class="category">
        <h2>新闻搜索引擎</h2>
        <ul>
            <li><a href="#">Google News</a></li>
            <li><a href="#">Bing News</a></li>
            <li><a href="#">Yahoo News</a></li>
            <!-- 添加更多新闻搜索引擎 -->
        </ul>
    </div>


</body>
</html>

css

body {
    font-family: Arial, sans-serif;
    background-color: #f1f1f1;
    color: #333;
    margin: 0;
    padding: 20px;
}

.category {
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

li {
    margin-bottom: 5px;
}

a {
    display: block;
    text-decoration: none;
    color: #333;
    padding: 5px;
    transition: background-color 0.3s ease;
}

a:hover {
    background-color: #f9f9f9;