How do I use the aside html tag?



  • The aside html tag is a semantic elements. Semantic elements are used by browsers and can help with search engines optimization.

    This could be content placed in a sidebar of a html page.

    <!DOCTYPE html>
    <html>
    <body>
    
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Fermentum iaculis eu non diam phasellus vestibulum.</p>
    
    <aside>
      <h4>Heading One</h4>
      <p>Vel pretium lectus quam id leo in. Porta nibh venenatis cras sed felis eget velit aliquet.</p>
    </aside>
    
    </body>
    </html>
    

Log in to reply
 

© Lightnetics 2024