<!DOCTYPE html>
<html lang="ja">
    <head>
        <meta charset="UTF-8">
        <title>Webデザイントレンド</title>
    </head>
    <body>
        <h1>Webデザイントレンド</h1>
        <article>
            <h2>Webデザイントレンド2023</h2>
            <p>2023年のWebデザイントレンドに関する予測と解釈です。 ...</p>

            <!-- divタグを使用して英語で表示される部分をグループ化し言語を明示 -->
            <div lang="en-US">
                <h2>Web Design Trend 2023</h2>
                <p>Forecast and interpretation of 2023 web design trends.</p>
            </div>
        </article>
    </body>
</html>
<div class="shadow-box">
    <p>美しいボックススタイルができましたね!</p>
</div>
.shadow-box {
    border-radius: 25px;
    padding: 2.5em;
    box-shadow: 0 20px 50px -25px rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: gold;
}
ブラウザーでの実際の表示例
<div class="container" aria-hidden="true">
    <div class="circle circle-1"></div>
    <div class="circle circle-2"></div>
    <div class="circle circle-3"></div>
</div>
.container {
    position: relative;
    height: 200px;
}
.circle {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}
.circle-1 {
    top: 0;
    background-color: red;
}
.circle-2 {
    top: 80px;
    left: 100px;
    background-color: green;
}
.circle-3 {
    bottom: 0;
    left: 50px;
    background-color: blue;
}
ブラウザーでの実際の表示例
<header>
    <h1>Webサイトタイトル</h1>
    .... ロゴ、ナビゲーション、検索 ....
</header>

<!-- 以下のように使用できます。-->
<div role="banner">
    <h1>Webサイトタイトル</h1>
    .... ロゴ、ナビゲーション、検索 ....
</div>
<footer role="contentinfo">
    <address>
        © 2023 Webページ制作者
        <a href="mailto:contact@example.com">contact@example.com</a>
    </address>
</footer>

<!-- 以下のように使用できます。-->
<div role="contentinfo">
    <address>
        © 2023 Webページ制作者
        <a href="mailto:contact@example.com">contact@example.com</a>
    </address>
</div>
<!DOCTYPE html>
<html>
    <head>
        <title>Webページタイトル</title>
    </head>
    <body>
        <header></header>
        <nav></nav>
        <main>
            <!-- Webページの主要コンテンツ領域 -->
            <h1>主要タイトル</h1>
            <p>主要内容...</p>
            <!-- その他のコンテンツ -->
        </main>
        
        <!-- 以下のように使用できます。-->
        <div role="main">
            <!-- Webページの主要コンテンツ領域 -->
            <h1>主要タイトル</h1>
            <p>主要内容...</p>
            <!-- その他のコンテンツ -->
        </div>
        <footer></footer>
    </body>
</html>
<!DOCTYPE html>
<html lang="ja">
    <head>
        <title>asideタグの例</title>
    </head>
    <body>
        <header></header>
        <main></main>
        <aside>
            <h3>補足情報</h3>
            <p>この領域は主要コンテンツに含まれない、別に分離された補足情報を表示します。</p>
        </aside>
        
        <!-- 以下のように使用できます。-->
        <div role="complementary">
            <h3>補足情報</h3>
            <p>この領域は主要コンテンツに含まれない、別に分離された補足情報を表示します。</p>
        </div>
        <footer></footer>
    </body>
</html>
<nav>
    <ul>
        <li><a href="/">ホーム</a></li>
        <li><a href="/about">会社情報</a></li>
        <li><a href="/services">サービス</a></li>
        <li><a href="/contact">お問い合わせ</a></li>
    </ul>
</nav>

<!-- 以下のように使用できます。-->
<div role="navigation">
    <ul>
        <li><a href="/">ホーム</a></li>
        <li><a href="/about">会社情報</a></li>
        <li><a href="/services">サービス</a></li>
        <li><a href="/contact">お問い合わせ</a></li>
    </ul>
</div>
<button type="button" id="save">保存</button>

<!-- 以下のように使用できます。-->
<div id="save" tabindex="0" role="button" aria-pressed="false">保存</div>