This is a hard one. We started using TT within paragraphs as there were design issues with <code> because it make it hard to read. Has this been resolved? I'm traveling right now so if someone could do some tests, that would be awesome and let's fix this. Permanently since <tt> is archaic. A search and replace of the database would be necessary, or we just go forward from here with <code> and not <tt>. Or we continue with what we have, but I'd love to be done with it.
Lorelle On Wed, Oct 12, 2011 at 12:57 AM, Justin Ryan <[email protected]>wrote: > Hello - > > Is there is a firm convention for using <tt> tags or <code> tags? > Unfortunately, the documentation contradicts itself, leaving me > confuzzled: > > "To style code within the text of an article, such as listing > the index.php template file, use the <tt> tag to wrap the code within a > sentence. <code> tags also work, but in the past they used an annoying blue > background. Stick with <tt> to be safe." ( > http://codex.wordpress.org/Codex:Styles#Using_Codes_in_the_Codex) > > "There are two HTML tags which will turn text into monospaced type. They > are <code> and <tt>. The latter is rarely used today, replaced by the more > useful and semantically correct <code>, which distinguishes text that is > computer code from normal language." ( > http://codex.wordpress.org/Writing_Code_in_Your_Posts#Code_Within_Paragraphs > ) > > Any guidance would be much appreciated. > > Yours, > « JR » > > *Justin Ryan* > Writer/Editor > Office: 713.581.4335 > www.justin-ryan.com > > *Linux Journal* > Contributing Editor > [email protected] > www.linuxjournal.com > > > _______________________________________________ > wp-docs mailing list > [email protected] > http://lists.automattic.com/mailman/listinfo/wp-docs > >
_______________________________________________ wp-docs mailing list [email protected] http://lists.automattic.com/mailman/listinfo/wp-docs
