Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Preformated text (pre) and Comp Code (code) troubles.

Featured Replies

Heys! I'm writing a tutorial and I want to display tags without them actually taking effect, so I've tried using the code and pre tags. Unfortunately, tags aren't appearing when I use the tags...

 

Is there any good tag that will serve my purpose out there, if these two won't?

 

You can see the page that I'm attempting to use the tags on here:

http://figmint.zzl.org/tutorials/tcss.php

You're not even using a <p> Paragraph tag!

 

All your text should be in a <h1>, <h2>, <h3>, <h4> if its a header

and in <p> if its Paragraphs.

 

TBH I don't know why its not working but could be because there is no <p>

 

Example:

<div ID="main">
<p>CSS, or Cascading Style Shee [...] </p> [...] </div>

Use the code tag as you've tried, but when writing the < and >, use & lt ; for < and & gt ; for >

  • Author
Use the code tag as you've tried, but when writing the < and >, use & lt ; for < and & mt ; for >

 

 

Okay, I'll try both your ideas.

  • Author

Alright, I changed everything into paragraphs and that didn't help. -goes off to try other solution majigger-

  • Author

Alright, so the left <s work with when I use "<", but the right ones don't work with "&mt;". However, if I just leave the right ones as >s they'll appear as they're supposed to.

 

Thanks!

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.