Topic: Is HTML deprecated?? (Page 1 of 1) Pages that link to <a href="http://ozoneasylum.com/backlink?for=31122" title="Pages that link to Topic: Is HTML deprecated?? (Page 1 of 1)" rel="nofollow" >Topic: Is HTML deprecated?? <span class="small">(Page 1 of 1)</span>\

 
nala123
Obsessive-Compulsive (I) Inmate

From:
Insane since: Jun 2009

IP logged posted posted 07-13-2009 03:38 Edit Quote

I decided to finally get a book on css, I know it was about time. I knew css tableless design is the new way to go, but I was shocked when I read that HTML is deprecated, I'd like to know what other designers think about this, and is it true that css based designs load faster??

reisio
Paranoid (IV) Inmate

From: Florida
Insane since: Mar 2005

IP logged posted posted 07-13-2009 03:42 Edit Quote

HTML for presentation and layout is absolutely deprecated and has been for some time.

DL-44
Lunatic (VI) Inmate

From: under the bed
Insane since: Feb 2000

IP logged posted posted 07-13-2009 19:33 Edit Quote

I am curious exactly what you mean by the question.

HTML exists to mark up the structure of a web page. It tells the browser to display various predefined elements. That has not changed. What has changed (and as reisio said, it changed a LOng time ago), is that style, layout, and presentation information has been shifted to CSS and should not be part of your mark up.

I would certainly not say that HTML is deprecated - it is still how the structure and content of web pages are defined.

nala123
Obsessive-Compulsive (I) Inmate

From:
Insane since: Jun 2009

IP logged posted posted 07-14-2009 14:51 Edit Quote

Are <div> layouts the new way to go?.

I am asking this because I still use tables (and still nest them like there's no tomorrow, lol) and they still do the work, I know....., shame on me... BUT like I said, I am learning new things, and I am aware that it was about time....

poi
Paranoid (IV) Inmate

From: Norway
Insane since: Jun 2002

IP logged posted posted 07-14-2009 15:31 Edit Quote

<div> layout, table based layout : same crap different name.

It's great that you consider to move away from table based layout, but try to not fall in the DIV soup booby trap.

Use HTML elements based on their semantic meaning, and group them in a DIV if it makes sense and/or helps laying out the page. CSS is the way to layout and adjust pages' presentation.


I don't think HTML will be deprecated anytime soon.

CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

IP logged posted posted 07-14-2009 17:11 Edit Quote
quote:

poi said:

but try to not fall in the DIV soup booby trap.



I'm going to use that quote all the time now But I agree, nested tables...nested divs. Both ugly.

Later,

C:\

DavidJCobb
Nervous Wreck (II) Inmate

From: United States
Insane since: Mar 2009

IP logged posted posted 07-14-2009 17:32 Edit Quote

Tables are NOT the way to go because it's a lotta extra elements. That's a lotta extra elements that the browser has to load AND a lotta extra elements that the browser has to keep track of in the DOM (JavaScript) -- takes longer to load, and it takes more memory even after having loaded.

DIVs ARE the way to go, but too many DIVs can sometimes be even worse than tables. So use DIVs, but be careful -- in general, try to do as much as you can with CSS, only adding extra HTML elements when necessary.

But in answer to your specific question, only certain HTML features, such as the FONT tag and the BGCOLOR attribute, are deprecated -- almost everything related to presentation, though some things (CELLSPACING, CELLPADDING) are still allowed.

----------------------

Arthurio
Paranoid (IV) Inmate

From: cell 3736
Insane since: Jul 2003

IP logged posted posted 07-14-2009 23:09 Edit Quote

yes, nested boobies just aren't the same ... wait what?

I think i stopped paying attention at:

quote:

poi said:

but try to not fall in the DIV soup booby trap.

Wes
Paranoid (IV) Mad Scientist

From: Inside THE BOX
Insane since: May 2000

IP logged posted posted 07-15-2009 05:21 Edit Quote

But remember, nala123, that tables are not inherently evil. Tables are still acceptable for tabular data.

Just had a flashback of a developer who once took some of my work and replaced all tables -- containing columns of mathematical data -- with a mind-blowing rat's nest of divs representing each individual cell, all floated into position with a confusing soup of CSS.

Anyway, it can be tough to switch one's way of thinking when creating a page, but the idea is to, for the most part, forget layout initially and think about context. Consider the content you're working on.

Is it a heading? Use an <h#> tag. Is it a paragraph? Use <p>. Is it a list of items? Whether you want bullets in the final design or not, use <ul>. You can restyle it all with CSS later.

Navigation menus, incidentally, are basically a list of items when you think about it, and therefore should be rendered with <ul>. See Listutorial for more.

nala123
Obsessive-Compulsive (I) Inmate

From:
Insane since: Jun 2009

IP logged posted posted 07-16-2009 04:39 Edit Quote

Ty guys, I appreciate all your comments.

Maskkkk
Paranoid (IV) Inmate

From: Johnstown, PA
Insane since: Mar 2002

IP logged posted posted 12-11-2009 17:57 Edit Quote

And try not to forget the ever looming HTML5 that at some point in the distant future (maybe 10 years from now) will be the accepted way to make webpages (maybe).



- AIM: MASKKKK

01001101011000010111001101101011011010110110101101101011

reisio
Paranoid (IV) Inmate

From: Florida
Insane since: Mar 2005

IP logged posted posted 12-12-2009 11:22 Edit Quote

Unless the W3C up and decides to let some other single person make a new spec ...again.



Post Reply
 
Your User Name:
Your Password:
Login Options: Remember Me On This Computer
 
Your Text:
Loading...
Options: Show Signature
Enable Slimies
Enable Linkwords

« BackwardsOnwards »

Show Forum Drop Down Menu