• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 854
  • Last Modified:

Display rich text using HTML 5

Is there a simple way to display rich text using HTML 5? All I want to do is display the text, the ability to edit is not necessary.
Ray Turner
Ray Turner
2 Solutions
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
That will still be done using CSS or specific html tags.

<p><strong>This is bolded but tells screen readers it is bold</strong> and <b>this is also bold but only on the screen.</b></p>
<p class="green_text">This is green text because of the css</p>

Open in new window

A browser will not display RTF natively, the special character will all be rendered.  If you need something beyond what you can do with markup and CSS then you will need to use a PDF or some similar format, and you will no longer be rendering an HTML document.

Ray TurnerSenior ConsultantAuthor Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now