RE: The <pre> element

Hi Mike,

 

I did a quick test with this, and it worked as expected in FF & IE.

 

<!doctype html>

<html lang="en">

<head>

  <meta charset="utf-8">

 

  <title>Testing the PRE element</title>

  <meta name="description" content="Test File: [insert Title]">

  <meta name="author" content="John Foliot - Deque Systems Inc.">

</head>

 

<body>

<h1>Testing the &lt;pre&gt; element</h1>

<p>This is paragraph text</p>

<pre>This

 

is

 

      &lt;pre&gt;

  content

</pre>

 

</body>

</html>

 

Not sure what else to suggest – can you point us to an example where this wasn’t working properly?

 

JF

 

 

 

From: Gunderson, Jon R [mailto:jongund@illinois.edu] 
Sent: Thursday, December 3, 2015 12:27 PM
To: Mike Elledge <melledge@yahoo.com>; Steve Faulkner <faulkner.steve@gmail.com>
Cc: GLWAI Guidelines WG Org <w3c-wai-gl@w3.org>
Subject: RE: The <pre> element

 

PRE element is part of the HTML 5.1 spec:

http://www.w3.org/TR/html51/semantics.html#the-pre-element 

 

 

 

From: Mike Elledge [mailto:melledge@yahoo.com] 
Sent: Thursday, December 03, 2015 12:06 PM
To: Steve Faulkner <faulkner.steve@gmail.com <mailto:faulkner.steve@gmail.com> >
Cc: GLWAI Guidelines WG Org <w3c-wai-gl@w3.org <mailto:w3c-wai-gl@w3.org> >
Subject: Re: The <pre> element

 

Hi Steve--

 

When I inserted an example of code within <pre> and </pre> both FF and IE treated it as if it were part of a website. Adding the <code> element had no effect. 

 

Mike


On Dec 3, 2015, at 12:39 PM, Steve Faulkner <faulkner.steve@gmail.com <mailto:faulkner.steve@gmail.com> > wrote:

 

On 3 December 2015 at 16:17, Mike Elledge <melledge@yahoo.com <mailto:melledge@yahoo.com> > wrote:

Has anyone else noticed that <pre> is no longer supported by browsers?

 

I haven't, what do you mean by not supported?




--

Regards

SteveF

Current Standards Work @W3C <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.paciellogroup.com_blog_2015_03_current-2Dstandards-2Dwork-2Dat-2Dw3c_&d=BQMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=REZD8fc2AwufInstfW3L5jSLVS8bjZtAodDOhat7yAI&m=WCRffUCJCLpffk-7KF7mW3zZKHmvx2IAlVRhV_YTc5o&s=z8dc-RAktan7N6RR8Ne_x5hpd_i42lS19-bmXOjusG4&e=> 

Received on Thursday, 3 December 2015 19:28:15 UTC