Activity › Forums › Web Design (WordPress, Joomla, etc.) › Help with HTML ?
-
Help with HTML ?
Posted by Mills_mg on April 6, 2005 at 4:01 amHello there,
I heard a lot about Strict HTML so just wanted to know what it is exactly ? i know basics of HTML but not deeply or thoroughly can anybody explain exact use of it. I mean with some examples or with a link it will be great ..
thnx…
Mills_mg replied 21 years, 1 month ago 2 Members · 6 Replies -
6 Replies
-
Curtis Thompson
April 6, 2005 at 7:42 pmhello…
from the horse’s mouth:
“This is HTML 4.01 Strict DTD, which excludes the presentation
attributes and elements that W3C expects to phase out as
support for style sheets matures. Authors should use the Strict
DTD when possible, but may use the Transitional DTD when support
for presentation attribute and elements is required.HTML 4 includes mechanisms for style sheets, scripting,
embedding objects, improved support for right to left and mixed
direction text, and enhancements to forms for improved
accessibility for people with disabilities.”https://www.w3.org/TR/REC-html40/strict.dtd
the best way to see the impact of it is to add the doc type declaration to the first line of any of your existing html pages:
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.0//EN”
“https://www.w3.org/TR/REC-html40/strict.dtd“>
<html>you should see some changes in your layout that you probably won’t like if you haven’t been using strict in the past…
sitruc
-
Mills_mg
April 7, 2005 at 3:37 amBeing not aware with the programming factors much its really hard to understand. if u can explain in simple terms it will be great…
I also tried pasting that code u have specified in my html page but i couldnt find any change.. may be i done something wrong there ?
i heard a lot abt. doc type and meta tags what it is actually ?
Thnx.
-
Curtis Thompson
April 7, 2005 at 4:03 amhello…
unfortunately i think we’ve already used about the most simple terms i can offer – strict vs. loose is the way that html is processed by your browser’s dom (document object model) – strict allows you to get away with less sloppy code…technically html has a very strict set of formatting rules but often browsers are very loose with their interpretation of your html commands…strict tried to tighten that up a bit…
sitruc
-
Mills_mg
April 7, 2005 at 5:39 amYes i understand that Curtis. but why i havent got any change in my layout page when i inserted the code u have given & what changes are expected ?
how i can write Strict HTML i know basics of HTML ?few examples will be great
thnx .
-
Curtis Thompson
April 7, 2005 at 5:56 amhello…
without seeing your page i can’t say as to why things didn’t change – it’s not necessarily a guarantee that your page will change – it’s not a different language but rather a different interpretation in some cases – in many others, it’s the same. if you don’t have a ton of style sheets or complex table layouts then you might not see a change.
if you’d like examples, i’d start on google – there are a ton of ’em to be found there:
https://www.google.com/search?q=%22strict+html%22+examples
hope that helps!
sitruc
-
Mills_mg
April 7, 2005 at 6:50 amSurely it will help Curtis . Thnx. a lot mate u have shown me the right direction ( i think ) oops……
Reply to this Discussion! Login or Sign Up