Semantic HTML-coding multi-line quotes?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/code-flow.club/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
7 views
The question to adherents of semantic HTML markup.


How to typeset a multiline quotation? It is clear that the blockquote tag, but then I see the difficulty in a very common case, when in the last paragraph, after the quotation is some text: this is usually an indication of source in the brackets, the sign of a footnote or even a trivial point outside the quotes. What to do with this text?


On the one hand, it is not part of quotes, so inside the blockquote tag, it is nothing to do. On the other hand, it is part of the last paragraph of the grouped in the same tag.


Very bad becomes, if put quotation marks using CSS; then they seize and this text that is absolutely wrong. You can, of course, to thread the needle by wrapping the tag in a span, which is set to absolute positioning and a small indent on the left; then it falls out of context and go after the final quotation marks. But it has all sorts of undesirable side effect: the emergence, in certain situations, the scroll bar does not seem the appropriate order of text copying...


In General, you want solutions and semantically correct, to make it look right — or at least reasons why it is impossible.
by | 7 views

4 Answers

0 like 0 dislike
Semantic coding is a myth. A simple example — you want to highlight the word. In "semantic" layout for this is "semantic" tag , which is on the seal is usually displayed in italics. But in your phrase exactly for this word is, for example, a semicolon. By typographic rules, the semicolon is also necessary to italicize. Options: 1) leave the semicolon as it is, even though it is wrong; or 2) put a semicolon inside a "semantic" tag, which is strange, or allocate it separately the same , what is even more strange; or finally 3) forget about "semantics" and to impose what's right.
\r
Form of communication — as an integral part, in the General case, the message cannot be divided into form and content. The medium is The message.
by
0 like 0 dislike
Ready code above published.
\r
The author — also part of the quote, you do not publish a quote without attribution. This cite.
We arrange quotes through q.
by
0 like 0 dislike
okay, and then how to call block "is an excerpt from the text + source"?
\r
about cite — remember somewhere recently, just read about these changes, it is nonsense I think. but html5 is still a working draft, see what happens next.
\r
code valid:
* clip2net.com/clip/m20050/1288856845-clip-131kb.png
* clip2net.com/clip/m20050/1288856999-clip-144kb.png
\r
if the quote is multiple paragraphs model q on the div, you can add inside p to taste.
by
0 like 0 dislike
>if the quote is multiple paragraphs q to model p, you can add inside the div is a good choice.
\r
\rfixed for the greater SemanticNet.
\r
and anyway, as I recall, the q tag is intended for situations when the string is necessary to isolate the part that is a quote.
\r
I would have done so
div
blockquote
p text /p
p text /p
/blockquote
address cite /cite
/div
by

Related questions

0 like 0 dislike
1 answer
asked Jun 9, 2019 by reyzele
0 like 0 dislike
1 answer
0 like 0 dislike
3 answers
asked Apr 12, 2019 by SoftWorld
0 like 0 dislike
1 answer
0 like 0 dislike
2 answers
asked Jun 5, 2019 by AlibekKulseitov
110,608 questions
257,186 answers
0 comments
22,155 users