Questions tagged [blockquote]

A means of setting one or more lines of text apart from the body of a page of text. It is a formatting technique that usually results in the quoted text being placed in a box, or with increased margins, possibly with other decorations. It is closely associated with the HTML tag

.

76 questions
12
votes
3 answers

Must blockquotes contain paragraphs or must paragraphs contain blockquotes?

In HTML5, is it correct to put blockquotes inside paragraphs or is the opposite the right way? I mean, logic tells that a blockquote may be citing multiple paragraps, doesn't it? But doesn't blockquotes need to contain q elements? Could someone…
Vandervals
  • 5,774
  • 6
  • 48
  • 94
11
votes
2 answers

Big Quotation marks styled in html css

How would I style a quote with those huge quotation marks? I have tried most of the examples shown online. Using Block quote with the :before and :after css styles. The issue I'm having is avoiding the use of a image in div's wrapped around text,…
Reeze Cornelius
  • 238
  • 2
  • 6
  • 16
10
votes
2 answers

Use or similar tags in ReactJS using JSX

I am trying to use ReactJS with JSX to create a proof of concept for a styleguide. I wanted to be able to display the raw html of how to call on components doing this. JSX is ignoring my tags and rendering out the component This is what i…
jackncoke
  • 2,000
  • 6
  • 25
  • 66
5
votes
1 answer

How do I style a blockquote with a bar at the side (like Stack Exchange)?

How can I style a blockquote such that there is a vertical bar at the side? I'm looking for something like Stack Exchange's blockquote. Screenshot: This is what I have tried so far: blockquote { position: relative; margin: 1em; padding:…
Flux
  • 9,805
  • 5
  • 46
  • 92
5
votes
5 answers

Double top border of which one is centered with a certain width on one element

I've got a
which I want to style with a double top border as shown in this image: The tricky part is I want to stick with one element, the
element, as the HTML will be generated by a WYSIWYG. This is what I've got so…
Alexander
  • 396
  • 1
  • 9
  • 19
5
votes
0 answers

Styling
in Android TextView

Is it possible to change the style of
contents rendered in an Android TextView? I am setting the text like so: textView.setText(Html.fromHtml(someHtmlString)); In the android:Theme.Light theme, this renders blockquotes like normal…
Armand
  • 23,463
  • 20
  • 90
  • 119
5
votes
1 answer

CSS border above and below but not full width

I am attempting to define a global style for block-quotes on a site I'm working on. The goal is to style the block-quotes so that they appear similar to the image below. I would like to avoid having to modify the DOM structure. Using pseudo-classes…
davidcondrey
  • 34,416
  • 17
  • 114
  • 136
4
votes
1 answer

JSDOM: removing once-nested blockquotes but leave 2+-nested blockquotes

I'm trying to edit some HTML using JSDOM within Node.JS. I want any
that is the child of at most one surrounding
to be removed. But I want any
tag that is inside two or more
s to remain. I have read this question…
garson
  • 1,505
  • 3
  • 22
  • 56
4
votes
0 answers

Adding blockquote to format or styles options in CK Editor 4.5

I'm trying to add a new format or style option in CK Editor which inserts a blockquote with a class. I have added several custom formats and styles and have no problems, but when trying to create one where the element is set to blockquote, it…
Josh
  • 376
  • 2
  • 13
4
votes
1 answer

What goes inside of an html blockquote tag to indicate the author?

I have a blockquote tag, is there a semantic tag I could put inside for the author name? For example:
Anyone who has neber made a mistake has never tried anything new -Einstein
is not an actual…
The Gamer
  • 87
  • 1
  • 5
4
votes
6 answers

Displaying Bootstrap Icon before text with CSS shows code instead icon

I need to display the bootstrap Glyphicons before the element in which the .normal-text class has been used: I am trying with the following but it shows the code instead the icon. .normal-text{ border-left-width: 1px !important; font-size:…
Abdul Rahman
  • 1,669
  • 4
  • 24
  • 39
3
votes
1 answer

What is the purpose of the blockquote attribute ''cite'' in html?

I cannot comprehend this. Using text separately like this just makes the text appear a little bite italic, but i cannot understand the purpose of cite being used as an attribute in blockquote. For example:
user9996887
3
votes
1 answer

Is it semantic HTML to put my webpage reviews inside
?

I have a presentation-like carousel slider containing customer reviews concerning my website and its services. Semantics speaking, is it correct to have each review inside a blockquote? Example:
Review…
Dimitris Leon
  • 73
  • 2
  • 6
3
votes
1 answer

CSS LOVE! Animated background in blockquote on mouse over works but on mouse out doesn't

Took me few hours to completely overhaul the standard
tag and now I am stuck at the final step, the animation. I've tried just about everything there is, but can get it to work properly. If someone could help me here, I'd really…
1
2 3 4 5 6