I am developing a Web 2.0 site, and I have watched how sites work with menus and navigation bars. Many sites (like Twitter) use UL, while sites like stackoverflow use divs that contain identifiers that contain links.
Is there any advantage not to use UL, except that it fixes some IE errors?
is there any advantage to using UL?
Thanks!
ul/li , (, ), - , -.
, , ul, li a, CSS , CSS sprite backgrounds.
divs , . , CSS, , , , , .
, dom javascript, ...
, , UL . UL - , children (<li>) - , , . html /, div.
<li>
? . , - ul.
ul CSS, .
UL html. - divs, .
Basically the difference is that the ul-tag is a bit more specialized, but it can deliver almost the same thing as divs.
Source: https://habr.com/ru/post/1707743/More articles:https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1707738/what-are-the-options-to-replace-java-swing-gui&usg=ALkJrhhPa10FeCWFXzQ7-UEECdRXiuMITQHow to install nano-hmac on mac os x? - cWhy restore html from inside NOSCRIPT returns htmlentities? - jqueryвременные таблицы в хранимых процедурах на подчиненных серверах с установленным только для чтения - mysqlHTML:: StripScripts по-прежнему безопасен для удаления современных эксплойтов? - securitySnooze BufferedWriter.write to another thread - javaSQL: Primary key or not for primary key? - sqlHow can I use the when-between expression in sql? - sqlCreating Tests from Runtime Analysis - c #Functional: build a list of integers 1..n - functional-programmingAll Articles