Jump to content


Photo

putting plain text to the browser,


  • Please log in to reply
25 replies to this topic

#21 Ninjakreborn

Ninjakreborn
  • Members
  • PipPipPip
  • Information Technology Specialist
  • 3,922 posts
  • Age:33

Posted 25 September 2006 - 07:08 PM

So now everything is back to square one, for some people it's good, and for some people it's bad?

------

Business Website: http://www.infotechnologist.biz

Personal Website: http://www.joyelpuryear.com

Blog Site: http://www.realmofwriting.com
Services: Web development, application development, mobile development, and custom development. All services listed on my website.


#22 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 25 September 2006 - 07:18 PM

So now everything is back to square one, for some people it's good, and for some people it's bad?


No, go back and re-read the commentary on DTD type.  For 'good' people it's bad; for 'bad' people it's good enough :)
Legend has it that reading the manual never killed anyone.
My site

#23 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 25 September 2006 - 07:20 PM

No ones is saying its "bad". Just people have different opinions on which version of xHTML to use. I tend to use XHTML Transitional rather than XHTML Strict when creating XHTML pages.

As long as the text is not on its own between the body tags and is defined in a div or some other tag, eg:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>test</title>
</head>
<body>

<div id="container">
  <div id="header"><h1>Some Header</h1></div>
  <div id="menu">Menu here</div>
  <div id="content">Hello</div>
  <div id="footer">Footer</div>
</div>

</body>
</html>
It'll be fine.

Sometime I tend to this:
<div id="content">
  some opening paragrah

  <p>Secound paragraph</p>

  <p>Third paragraph</p>

  Last paragraph
</div>


#24 ober

ober
  • Staff Alumni
  • Advanced Member
  • 5,337 posts
  • LocationEast Coast, USA

Posted 25 September 2006 - 07:44 PM

I should probably add that I do something similar.  All my text is in some kind of div or something. 

Info: PHP Manual


#25 steelmanronald06

steelmanronald06
  • Staff Alumni
  • Advanced Member
  • 2,004 posts
  • LocationOk

Posted 25 September 2006 - 08:49 PM

It makes more sense to create a web page and enclose the text in HTML tags. Unless your doing a manual, and then no one is going to validate the damn manual. They are just going to read it and be done with it.

Also businessman, if you want to validate your pages, and be lazy about the p tag at the same time, use Transitional and stay away from Strict. But if you want to put a bit of effort into your sites, and actually do the work of enclosing your text in some type of tag (p, div, span, etc) then use strict, and do what it requires you to do to meet its expectations

#26 Ninjakreborn

Ninjakreborn
  • Members
  • PipPipPip
  • Information Technology Specialist
  • 3,922 posts
  • Age:33

Posted 25 September 2006 - 10:04 PM

I don't use strict, when I have a link going to any "External" page, meaning a website that is not the one they are currently on, I open it in a new window.  So that target="_blank" only works in transitional, and not in strict.  That stopped me from using it right there.

------

Business Website: http://www.infotechnologist.biz

Personal Website: http://www.joyelpuryear.com

Blog Site: http://www.realmofwriting.com
Services: Web development, application development, mobile development, and custom development. All services listed on my website.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users