天道酬勤,学无止境

blockquote

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 explain me the right structure? EDIT: To add some info. I got this doubt because when trying to implement quotation marks with CSS, they don't appear on blockquote but they do on q elements. What is the right way to do this? blockquote, q { quotes: "\201C""\201D""\2018""\2019"; font-style: italic; } <blockquote> <p>Hello!</p> <p>Say something!</p> <

2021-05-07 18:58:22    分类:问答    html   blockquote

Use <code> 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 <code> tags and rendering out the component This is what i have tried so far Display HTML code in HTML <blockquote> <pre> <code> <VideoPlayer ref="videoplayer" preload={this.props.preload} classes={this.props.classes} videoID={this.props.videoID} controls="controls" /> </code> </pre> </blockquote> I was surprised to see it render.

2021-04-28 02:32:04    分类:问答    html   reactjs   react-jsx   blockquote