fizzik: (дельфин)
[personal profile] fizzik
на тему "Что важнее: внешний вид или смысл".

Перескажу один слайд.

Некоторые несознательные граждане думают, что в HTML тэг <i> обозначает курсив, а тэг <b> - жирный шрифт. Несознательные граждане просто никогда не читали спецификацию HTML5, в которой написано совсем другое. А именно, что эти тэги предназначены для обозначения определенных смысловых ролей содержащегося в них текста, а как его отображать - вопрос совершенно отдельный.

Вот цитаты из спецификации:

The i element represents a span of text in an alternate voice or mood, or otherwise offset from the normal prose in a manner indicating a different quality of text, such as a taxonomic designation, a technical term, an idiomatic phrase from another language, transliteration, a thought, or a ship name in Western texts.

The b element represents a span of text to which attention is being drawn for utilitarian purposes without conveying any extra importance and with no implication of an alternate voice or mood, such as key words in a document abstract, product names in a review, actionable words in interactive text-driven software, or an article lede.
Depth: 1

Date: 2016-10-30 08:01 pm (UTC)
From: [identity profile] juan-gandhi.livejournal.com
Век живи век учись. Спасибо!
From: [identity profile] djadja-c.livejournal.com
HTML5 defines four elements that denote a change in emphasis in the text they surround from the text in
which they are nested:
• strong identifies text that is more important than its surrounding text. The browser usually renders
this content in bold.
• em identifies text that needs to be stressed. The browser usually renders this content in italics.
Edited Date: 2016-10-30 08:13 pm (UTC)
Depth: 1

Date: 2016-10-30 08:36 pm (UTC)
From: [identity profile] don-katalan.livejournal.com
Да уж. "Если прибор не работает, прочтите (наконец) инструкцию"...
Depth: 1

Date: 2016-10-30 10:05 pm (UTC)
From: [identity profile] grigoriyz.livejournal.com
Оказывается я - несознательный :)
Depth: 1

Date: 2016-10-30 10:58 pm (UTC)
From: [identity profile] aneta.livejournal.com
И как жить после этого? 20 лет думала неправильно...
Depth: 1

Date: 2016-10-30 11:08 pm (UTC)
lodin: A bearded hacker in a hat (Шляпа)
From: [personal profile] lodin
Вот интересно. У меня italic имеет два смысла. Если одно слово или словосочетание, то это типа "выделить, но не так сильно, как bold". Если фраза или предложение, то это примечание, ремарка. Ну вроде как театральный шёпот и шёпот, соответственно.

А есть ли в HTML на самом деле тег для "а вот это вот примечание"?
Depth: 1

Date: 2016-10-31 12:59 am (UTC)
From: [identity profile] solomon2.livejournal.com
мой пост и каменты шестилетней давности:
http://solomon2.livejournal.com/420486.html
Depth: 3

Date: 2016-10-31 01:24 pm (UTC)
From: [identity profile] solomon2.livejournal.com
мой пойнт состоит в том, что абсолютное разделение маркапа на "семантический" и "стилистический" - это фикция: таги типа b и i имеют право на существование именно как таги, совмещающие смысл и визуальное представление в одном флаконе, и если спецификация будет это отрицать, тем хуже для спецификации
Depth: 1

Date: 2016-10-31 09:49 am (UTC)
From: [identity profile] rioman.livejournal.com
А суть-то в чём, если выглядит одинаково? :)

January 2026

M T W T F S S
   12 3 4
5 67 891011
12131415161718
19202122232425
262728293031 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 9th, 2026 09:43 pm
Powered by Dreamwidth Studios