Html-ul-tag

提供:Dev Guides
移動先:案内検索

HTML-<ul>タグ

説明

HTML <ul>タグは、順序付けられていないリストを作成するために使用されます。

<!DOCTYPE html>
<html>

   <head>
      <title>HTML ul Tag</title>
   </head>

   <body>
      <p>Sports Club Games</p>
      <ul>
         <li>Cricket</li>
         <li>Football</li>
         <li>Hockey</li>
         <li>Badminton</li>
         <li>Squash</li>
      </ul>
   </body>

</html>

これは、次の結果を生成します-

グローバル属性

このタグは、− link:/html/html_attributes_reference [HTML属性リファレンス]で説明されているすべてのグローバル属性をサポートします

特定の属性

HTML <ul>タグは、次の追加属性もサポートしています-

Attribute Value Description
type disc circle square Deprecated − Specifies the style of the bullet.
compact compact Deprecated − Defines if compact rendering is required.

イベント属性

このタグは、− link:/html/html_events_reference [HTMLイベントリファレンス]で説明されているすべてのイベント属性をサポートします。

ブラウザのサポート

Chrome Firefox IE Opera Safari Android
Yes Yes Yes Yes Yes Yes