Half a croissant, on a plate, with a sign in front of it saying '50c'
h a l f b a k e r y
It might be better to just get another gerbil.

idea: add, search, annotate, link, view, overview, recent, by name, random

meta: news, help, about, links, report a problem

account: browse anonymously, or get an account and write.

user:
pass:
register,


               

Support HTML "code" tag

For when a fixed font is best
 
(0)
  [vote for,
against]

I did look around to see if this Idea had been mentioned before, and the closest thing I could find was "ASCII Annos" (linked).

But!

Why only in annotations? I personally have done enough attempts at ASCII sketches in the main text of an Idea to know that having a fixed font available in more places than the annotations would be very convenient.

Meanwhile, standard HTML includes a tag specifically to allow a web page, usually expected to be presented to the user in a proportional font, to have a block of fixed-font text. The "code" tag does that.

I see in an another Idea, "Carriage return as [HTML line break]" (linked), [Bristolz] posted an annotation indicated that "a few oddball things are supported" -- [jutta], can we have a list of supported HTML tags on the Help page, please? (Even if the "code" tag never becomes one of them?) Thank you!

<code>
This is a test.
This is only a test.
If this text was really displayed in a fixed font,
it would be obvious.
And the HTML tags before and after
this block of text would not be visible.
</code>

Vernon, Jan 25 2011

ASCII annos ASCII_20Annos
As mentioned in the main text. [Vernon, Jan 25 2011]

Carriage returns... Carriage_20return_20as_20_3cbr_3e
As mentioned in the main text. [Vernon, Jan 25 2011]

About the HTML "code" tag http://www.htmlquic...ence/tags/code.html
Computer code is often written in a fixed font, and there are excellent reasons for that, but those reasons are mostly outside the scope of this Idea. [Vernon, Jan 25 2011, last modified Jan 26 2011]

12864 12864
The data tables in this Idea would benefit greatly from being presented in a fixed font. [Vernon, Jan 26 2011]

[link]






       In the some of the better newspapers, next to the crossword, there is a blank box which you can use for doodling in. A suitably coded box on the otherwise excellent HB format, coupled with a Chinagraph pencil, would answer many of the needs here identified.
MaxwellBuchanan, Jan 25 2011
  

       You can also doodle, scan and upload to Imageshack or whitherever. And i say yet again, i want <sub> and <sup> more than any of this.
nineteenthly, Jan 26 2011
  

       Hold on though: isn't the low-res version monospace?   

       Ah: apparently not. Looking at it now. How about Lynx though?
nineteenthly, Jan 26 2011
  
      
[annotate]
  


 

back: main index

business  computer  culture  fashion  food  halfbakery  home  other  product  public  science  sport  vehicle