Subject: [Xml-sg-cmt] What people use <tt> for

From: "John R Levine" <[email-masked]>
Date: 22 Feb 2021 12:00:22 -0500

I tried to categorize the uses of <tt> in published RFCs

tl;dr practically none need "quotes", a lot shouldn't be <tt> at all. 
The style guide could use better advice.

R's,
John
-------------
Quotes don't seem to help:

Keywords in protocols, e.g. oauth "subject_token"
         negotiating <tt>c-webrtc</tt> makes a promise to preserve the
             <tt>kty</tt>: <tt>EC</tt></li>
             <tt>crv</tt>: <tt>secp256k1</tt></li>
 	    only be so if the <tt>unknownsizeallowed</tt> attribute of its EBML Schema is
 	the issuer identified by the <tt>iss</tt> claim.

example tag names	      (e.g., <tt>#hashtags</tt>).

http commands			HTTP <tt>POST</tt>

MIME media types	<tt>application/x-www-form-urlencoded</tt>
 			<tt>application/clue+xml</tt> media type.

programming language keywords             <tt>false</tt>, <tt>true</tt>, <tt>null</tt>, and <tt>undefined</tt>

mention of ABNF tokens         <tt>full-date</tt> production.
  <tt>s/*1(FLOOR-ID)/[FLOOR-ID]/</tt> in Figure 38 and <tt>s/*[XXX]/*(XXX)/</tt> in the other figures.</t>

HTTP header (inconsistent) 	expressed in <tt>Accept-CH</tt>. The user agent and server can use an
         <tt>Content-Type</tt> of
         <tt>application/json</tt>, as described in

parameter value 	    A value of <tt>0</tt> <bcp14>MAY</bcp14> be used by
 		    The default value is <tt>false</tt>,
 		    A similar attack can be mounted based solely on the SDP <tt>fingerprint</tt> attribute
 		    an integer <tt>2</tt> (with a
 		Element ID with binary encoding of <tt>1011 1111</tt> is valid, whereas an

response value	                <tt>access_denied</tt>) a SET at its own discretion.

DNS name	      the query name would have been <tt>1.2.0.192.list.dnswl.example</tt>.
 	        <tt>_dns‑llq._udp.&lt;zone&gt; SRV</tt> queries,	(note non-ASCII hypen, oops)

XML namespace	<tt>urn:ietf:params:xml:ns:clue-protocol</tt>.
 		<tt>http://www.w3.org/ns/ttml</tt> namespace <bcp14>MUST</bcp14> include a

IP address	if a PvD's associated PIO defines the prefix <tt>2001:db8:cafe::/64</tt>,

sample URL	        <tt>https://&lt;PvD-ID&gt;/.well-known/pvd</tt>.  Inversely, hosts
 			As an example, a web browser seeking to load <tt>https://example.com/index.html</tt>

numbers		              <tt>8000000000000001</tt></td>
 	              <tt>-5e-324</tt></td>

comments		<tt>Min neg number</tt></td>

math formula		        <tt>2**(f + ll)</tt> (or <tt>1 &lt;&lt; (f + ll)</tt> in a typical

Quotes may be OK:

github labels	          reserve the ability to use the <tt>design</tt> label for new issues