Afrikaans
Akan
Albanian
Amharic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
French
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranรฎ)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
- So far, we've been talking about HTML elements
that help us mark up passages of text on a page.
Paragraphs, headlines, bold and italic...
Lists.
What about including a quote?
Let's look at this quote from Jeremy Keith.
Now, basically this is a paragraph.
So, let's wrap it in P tags.
We can use the cite element to credit
Jeremy as the person who said this.
And we can wrap the whole thing
in a block quote element.
To distinguish it from the surrounding text.
These two elements cite and block quote
are being used for their semantic value.
To convey to other computers,
"Hey, this is what this is".
They're also convenient places to
use the target styling.
We can make each of these elements look
however we want using CSS.
We can make the block quotes stand
out and look special.
In this example inside the block quote element
we have two paragraphs and the cite.
We can put any element inside this block quote.
We can put a list in there.
A headline.
Elements should be nested inside of each other.
And whatever way makes sense.
So, what about quotes that are not block quotes?
What about quotes that are just worked
in to the middle of some text?
Like this.
These quote marks are simply typed in to the text.
Although, these are straight quote marks.
And I think they really should be curly quotes.
Although, that is my topographic eye that says
that these should be curly quotes.
For many of you around the world there
all kinds of other ways that these
quote marks should be displayed.
It depends on the language, the script or the
types of in conventions of a particular region.
Instead of typing the quotes manually.
We can use the "q" element.
And let the browser provide the quote marks for us.
"Q" stands for quote.
Here, I've taken this quote and translated it.
You can see that the quote marks are
different in these other languages.
Comparing the block quote element to the "q" element.
Is a good example of something you might
start to intuit about HTML.
Some of these elements are what's called "Inline".
They're meant for wrapping around phrases of content
that are inline with some other content.
Like the "q" element.
Strong, b, I, and em.
And many more.
They are inline elements.
You wrap them around phrases of text or
they have a similar kind of inline purpose.
Other elements are block-level elements.
Block quote, paragraph, unordered lists.
These elements each start a new block.
They're a thing on the page.
A block that can be followed by another block.
There's a lot of nerdy detail about this
that I could go in to but I won't.
Some of this is about CSS.
And when you use CSS you can switch
the switch the layout behavior from
block to inline or from inline to block.
But, before you get in to thinking
about layout or CSS.
There is this inherit sense that you start
to build up about some these HTML elements.
Some are to mark something that's
part of a bigger thing.
And some are the bigger thing.
"Q" and block quote elements are good
examples to compare inline to block.
They almost do the same thing.
But, then they don't.
One is for inline phrases and the
other is for creating a block context.
That's how to mark up quotes.
The block quote, "q" and cite elements.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.