<aside>

Sahifaning asosiy qismiga bevosita aloqador bo'lmagan qismini belgilaydi.

<aside> elementi saydbarda joylashgan ba'zi bloklarga, masalan reklama materiallari, arxiv postlarga havolalar va sahifaning shunga o'xshash asosiy ma'lumot bilan bevosita bog'liq bo'lmagan qismiga ishlatiladi.

Sintaksis

<aside>
</aside>

Yopuvchi teg

Bo’lishi shart

Atributlar

Ushbu element uchun umumiy atributlar va hodisa (event)lar mavjud.

Misol

<!DOCTYPE html>
<html>
 <head>
  <meta charset="utf-8">
  <title>aside</title>
  <style>
   aside {
    background: #f0f0f0;
    padding: 10px;
    width: 200px;
    float: right;
   }
   article {
    margin-right: 240px;
   }
  </style>
 </head> 
 <body>
  <aside>
    <p>Bizni ijtimoiy tarmoqlarda ham kuzatib boring.</p>
    <ul>
      <li><a href="https://www.facebook.com/referenceuz/">Facebook</a></li>
    </ul>
  </aside>
  <article>
    <h1>Sarlavha</h1>
    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
    tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
    quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
    consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
    cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
    proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
  </article>
 </body> 
</html>

Natija

Brauzerlar

Internet Explorer Edge Chrome Opera Safari Firefox
1 12 1 5.12 1 1
Android Firefox Opera Safari
1 1 6 1