HTML-элементы

Ниже есть всё, что нужно для оформления статей в Магазете. Посмотрите исходник статьи, чтобы увидеть использованные HTML-элементы.


Заголовок 1

Заголовок 2

Заголовок 3

Заголовок 4

Заголовок 5
Заголовок 6

Заголовки первого и второго уровня использовать не рекомендуется, т.к. они зарезервированы для названия сайта и заголовка статьи. Используйте заголовки начиная с 3-го уровня и выше.


Lorem ipsum dolor sit amet, тестовая ссылка adipiscing elit. This is strong. Nullam dignissim convallis est. Quisque aliquam. This is emphasized. Donec faucibus. Nunc iaculis suscipit dui. 53 = 125. Water is H2O. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl. The New York Times (That’s a citation). Underline.. Maecenas ornare tortor. Donec sed tellus eget sapien fringilla nonummy. Mauris a ante. Suspendisse quam sem, consequat at, commodo vitae, feugiat in, nunc. Morbi imperdiet augue quis tellus.

 

HTML and CSS are our tools. Mauris a ante. Suspendisse quam sem, consequat at, commodo vitae, feugiat in, nunc. Morbi imperdiet augue quis tellus. Praesent mattis, massa quis luctus fermentum, turpis mi volutpat justo, eu volutpat enim diam eget metus. To copy a file type COPY filenameDinner’s at 5:00. Let’s make that 7. 色狼 [sèláng] — извращённый человек, извращенец.


Виды списков

Список с определениями

Definition List Title
This is a definition list division.
Definition
An exact statement or description of the nature, scope, or meaning of something: our definition of what constitutes poetry.

Список с числами

  1. List Item 1
  2. List Item 2
    1. Nested list item A
    2. Nested list item B
  3. List Item 3

Cписок с маркерами

  • List Item 1
  • List Item 2
    • Nested list item A
    • Nested list item B
  • List Item 3

Таблицы

Table Header 1 Table Header 2 Table Header 3
Division 1 Division 2 Division 3
Division 1 Division 2 Division 3
Division 1 Division 2 Division 3

Неформатированный текст

Typographically, preformatted text is not the same thing as code. Sometimes, a faithful execution of the text requires preformatted text that may not have anything to do with code. Most browsers use Courier and that’s a good default — with one slight adjustment, Courier 10 Pitch over regular Courier for Linux users. For example:

“Beware the Jabberwock, my son!
    The jaws that bite, the claws that catch!
Beware the Jubjub bird, and shun
    The frumious Bandersnatch!”

Код

Code can be presented inline, like <?php bloginfo('stylesheet_url'); ?>, or within a<pre> block. Because we have more specific typographic needs for code, we’ll specify Consolas and Monaco ahead of the browser-defined monospace font.

#container {
	float: left;
	margin: 0 -240px 0 0;
	width: 100%;
}

Цитаты

Обычная цитата:

Good afternoon, gentlemen. I am a HAL 9000 computer. I became operational at the H.A.L. plant in Urbana, Illinois on the 12th of January 1992. My instructor was Mr. Langley, and he taught me to sing a song. If you’d like to hear it I can sing it for you.

— HAL 9000

Редакторское отступление:

Но когда мы говорим, что человек ответствен, то это не означает, что он ответствен только за свою индивидуальность. Он отвечает за всех людей

Ну и конечно же стихи!

Всегда рабыня, но с родиной царей на
смуглой груди
И с государственной печатью взамен
серьги у уха.
То девушка с мечом, не знавшая зачатья,
То повитуха – мятежей старуха.
Ты поворачиваешь страницы книги той,
Где почерк был нажим руки морей.
Чернилами сверкали ночью люди,
Расстрел царей был гневным знаком
восклицанья,
Победа войск служила запятой,
А полем – многоточия, чье бешенство не робко,
Народный гнев воочию
И трещины столетий – скобкой.

Немного текста в конце после цитаты – тоже неплохо.