How to use the <article> tags efficiently? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to use the <article> tags efficiently?

I cant put things inside the <aside> tags beside the <article> things in my web page.Can someone please give me a example code on how to put things in the <aside> tags beside things in the <article> tags

9th Jul 2018, 7:33 AM
William Ong
William Ong - avatar
6 Answers
+ 1
if you can give me a sample code that would be nice
9th Jul 2018, 7:55 AM
William Ong
William Ong - avatar
+ 1
Hi William Ong, Technically, you can put whatever you want in either the aside tag or the article tag because they should both act like div tags. Was there something else you wanted to know?
9th Jul 2018, 7:40 AM
Janningā­
Janningā­ - avatar
+ 1
both article and aside tags are normally div tags. they just make the browser understand what is the content inside. you should customise them with css
9th Jul 2018, 7:51 AM
Dominique Abou Samah
Dominique Abou Samah - avatar
+ 1
try in css: *{ margin:0; } then you can customise every element margin manually
9th Jul 2018, 7:56 AM
Dominique Abou Samah
Dominique Abou Samah - avatar
+ 1
it works thx
9th Jul 2018, 7:57 AM
William Ong
William Ong - avatar
0
i want to make one paragraph at the left and another at the right, but similiar to div, they have some margin between each paragraph that makes it not good looking
9th Jul 2018, 7:54 AM
William Ong
William Ong - avatar