blockquote

Must blockquotes contain paragraphs or must paragraphs contain blockquotes?

巧了我就是萌 提交于 2020-06-23 06:21:56
问题 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: "

Use <code> or similar tags in ReactJS using JSX

本秂侑毒 提交于 2020-01-11 05:14:45
问题 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