Bootstrap: Быстрое создание современных сайтов. Тимур Машнин

Читать онлайн книгу.

Bootstrap: Быстрое создание современных сайтов - Тимур Машнин


Скачать книгу
This is a default blockquote example. </p>

      <blockquote>

      <p> This is a default blockquote example. This is a default blockquote example. </p>

      </blockquote>

      <blockquote class=«blockquote-reverse»>

      <p> This is a default blockquote example. This is a default blockquote example. </p>

      </blockquote>

      Тег <mark> подсвечивает текст:

      <p> Use the mark element to <mark> highlight </mark> text. </p>

      Элементы <dl>, <dt> и <dd> обеспечивают разметку словаря:

      <dl>

      <dt> Coffee </dt>

      <dd> black hot drink </dd>

      <dt> Milk </dt>

      <dd> white cold drink </dd>

      </dl>

      При этом класс class=«dl-horizontal» выводит ключ-значение в одну строку:

      <dl class=«dl-horizontal»>

      <dt> Coffee </dt>

      <dd> black hot drink </dd>

      <dt> Milk </dt>

      <dd> white cold drink </dd>

      </dl>

      Тег <code> выделяет текст цветом:

      <p> HTML elements: <code> span </code>, <code> section </code>, and <code> div </code>. </p>

      Тег <kbd> меняет фон и цвет текста:

      <p> Use <kbd> ctrl + p </kbd> to open the Print dialog box. </p>

      Тег <pre> меняет фон текста, сохраняя пробелы и переносы:

      <pre>

      Text in a pre

      element

      is displayed in a fixed-width

      font, and it preserves

      both spaces and

      line breaks.

      </pre>

      При этом класс class=«pre-scrollable» устанавливает максимальную высоту 350px и добавляет прокрутку.

      Класс class=«list-unstyled» удаляет маркировку и отступы списка:

      <ul class=«list-unstyled»>

      <li> Coffee </li>

      <li> Tea

      <ul>

      <li> Black tea </li>

      <li> Green tea </li>

      </ul>

      </li>

      <li> Milk </li>

      </ul>

      Класс class=«list-inline» выводит список в одну строку:

      <ul class=«list-inline»>

      <li> Coffee </li>

      <li> Tea </li>

      <li> Milk </li>

      </ul>

      Теги <del> и <s> перечеркивают текст:

      <p> Use the s element to indicate <s> text that is no longer relevant </s>. </p>

      <p> Use the del element to indicate <del> deleted text </del>. </p>

      Теги <u> и <ins> подчеркивают текст:

      <p> Use the u element to indicate <u> underlined text </u>. </p>

      <p> Use the ins element to indicate <ins> inserted text </ins>. </p>

      Тег <samp> меняет шрифт, имитируя вывод программы:

      <p> To indicate sample output from a computer program, use the samp element: </p>

      <p> <samp> This text is output from a computer program… </samp> </p>

      Таблицы

      Bootstrap класс. table стилизует HTML таблицу небольшим padding отступом и горизонтальными разделителями:

      <table class=«table»>

      <thead>

      <tr>

      <th> Firstname </th>

      <th> Lastname </th>

      <th> Email </th>

      </tr>

      </thead>

      <tbody>

      <tr>

      <td> John </td>

      <td> Doe </td>

      <td>[email protected] </td>

      </tr>

      <tr>

      <td> Mary </td>

      <td> Moe </td>

      <td>[email protected] </td>

      </tr>

      <tr>

      <td> July </td>

      <td> Dooley </td>

      <td>[email protected] </td>

      </tr>

      </tbody>

      </table>

      Дополнительно


Скачать книгу