FORUMS: list search recent posts

Help with HTML ?

COW Forums : Web Design

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
mills_mg
Help with HTML ?
on Apr 6, 2005 at 4:01:26 am

Hello 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...


Return to posts index

Curtis Thompson
Re: Help with HTML ?
on Apr 6, 2005 at 7:42:23 pm

hello...

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."

http://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"
"http://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



Return to posts index

mills_mg
Re: Help with HTML ?
on Apr 7, 2005 at 3:37:27 am

Being 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.


Return to posts index


Curtis Thompson
Re: Help with HTML ?
on Apr 7, 2005 at 4:03:56 am

hello...

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


Return to posts index

mills_mg
Re: Help with HTML ?
on Apr 7, 2005 at 5:39:31 am

Yes 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 .


Return to posts index

Curtis Thompson
Re: Help with HTML ?
on Apr 7, 2005 at 5:56:22 am

hello...

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:

http://www.google.com/search?q=%22strict+html%22+examples

hope that helps!

sitruc


Return to posts index


mills_mg
Re: Help with HTML ?
on Apr 7, 2005 at 6:50:36 am

Surely it will help Curtis . Thnx. a lot mate u have shown me the right direction ( i think ) oops......


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]