[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
Do you use divs or uls? <div> <div>desu</div>
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 11
Thread images: 2
File: 1998.jpg (369 KB, 700x700) Image search: [Google]
1998.jpg
369 KB, 700x700
Do you use divs or uls?

<div>
<div>desu</div>
</div>


<ul>
<li>senpai</li>
<ul>
>>
Depends on what you need them for.
<ul><li>stuff</li></ul>
for lists, divs for everything else
>>
File: 1458492464882.png (10 KB, 267x233) Image search: [Google]
1458492464882.png
10 KB, 267x233
>>53732712
>>
>>53732712
https://jsfiddle.net/d0zjvnuz/

What can div do that ul can't?
>>
You're retarded if you don't use semantic elements
>>
>>53734576
What can <article> do that ul cant?
>>
>>53732899
>>53736184
Read a specification retard.
>>
>>53736184
Have you heard of fucking SEO? Or readability maybe?
Also, >>53734576

This is the reason why webdevs get shit names. This is the fucking reason why everyone thinks we're all poo in the loo's working in sweatshops in the middle of India.
>>
>>53736647
https://jsfiddle.net/jnpLfuxw/
>>
>>53736184
>>53737103
> implying a list and an article are the same thing, as long as they look the same.
kill yourself
>>
>>53732957
any element can do anything any other element can do. it's just down to doing it "right".

When you follow standard practices, you get a lot of stuff done "for free"
Thread replies: 11
Thread images: 2

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.