These forums are currently read-only due to receiving more spam than actual discussion. Sorry.

It is currently Sat Dec 02, 2017 4:06 pm Advanced search

Do not drop html elements and attributes I like!

Do you think the HTML spec should do something differently? You can discuss spec feedback here, but you should send it to the WHATWG mailing list or file a bug in the W3C bugzilla for it to be considered.

Do not drop html elements and attributes I like!

Postby desbest » Tue Apr 15, 2008 11:08 pm

Do not drop html elements and attributes I like!
Such as

* big i like this tag
* center ie6 is bad at css and text-align; so this tage helps things
* font (allowed when inserted by WYSIWYG editors)
* frame you can't just drop frames because css is upon us?
* frameset you can't just drop frames because css is upon us?
* noframes you can't just drop frames because css is upon us?
* noscript some school and libraries disable javascript
* s can't i strikethrough text?
* u how else am i meant to underline text[/b]
desbest
<h6>
 
Posts: 6
Joined: Tue Apr 15, 2008 11:02 pm

Postby anne » Wed Apr 16, 2008 8:52 pm

What problem is solved by having these elements?
User avatar
anne
<h4>
 
Posts: 32
Joined: Tue Feb 06, 2007 11:17 pm
Location: Utrecht, NL

Postby desbest » Wed Apr 16, 2008 9:44 pm

Three.

IE6 is bad at css so a center tag will help where text-align; doesn't.

Some people like to use frames like propellerheads
www.propellerheads.se They make popular music software.

And people know and love the font tag, not everybody wants to have to resort to css for styling text.

Noscript, what do I do if javascript is disabled? How can I check it?

Underline is good because it's much easier than <font class="underline"> or <span style="text-decoration: underline;">
desbest
<h6>
 
Posts: 6
Joined: Tue Apr 15, 2008 11:02 pm

Postby anne » Thu Apr 17, 2008 8:08 am

I don't think we should constrain the language to what IE6 currently supports as that will change over time.

Frames have all kinds of usability issues. Not being able to bookmark, etc.

<noscript> is actually conforming for HTML documents. Though checking if JavaScript is enabled can be done by simply checking if the script is executed or not.

For the <u> thing your problem description is not really clear. Sure, <u> is shorter than either of those, but what problem are you trying to solve?
User avatar
anne
<h4>
 
Posts: 32
Joined: Tue Feb 06, 2007 11:17 pm
Location: Utrecht, NL

Re: Do not drop html elements and attributes I like!

Postby Le Sage » Tue Apr 29, 2008 2:46 pm

desbest wrote: * s can't i strikethrough text?
* u how else am i meant to underline text[/b]

Have you heard about CSS?
Code: Select all
<span style="text-decoration: underline line-through;">test</span>


anne wrote:Though checking if JavaScript is enabled can be done by simply checking if the script is executed or not.

Do you mean there is a way of doing this without noscript?
Code: Select all
<script type="text/javascript">alert("hello world");</script>
<noscript>you should really enable JavaScript</noscript>


@desbest: as far as I know, almost everything that big, center or font do on IE6 can be done with styling any element (like a span); otherwise there are still JavaScript hacks; & if JavaScript is disabled, oh well...
User avatar
Le Sage
<h3>
 
Posts: 54
Joined: Wed Dec 05, 2007 9:08 pm
Location: Casablanca, Morocco

Re: Do not drop html elements and attributes I like!

Postby zcorpan » Mon May 05, 2008 6:09 pm

Le Sage wrote:Do you mean there is a way of doing this without noscript?
Code: Select all
<script type="text/javascript">alert("hello world");</script>
<noscript>you should really enable JavaScript</noscript>
Code: Select all
<p id=noscript>you should really enable JavaScript</p>
<script>
var e = document.getElementById('noscript');
e.parentNode.removeChild(e);
alert("hello world");
</script>
zcorpan
<article>
 
Posts: 807
Joined: Tue Feb 06, 2007 8:29 pm
Location: Sweden

Postby Le Sage » Tue May 06, 2008 9:16 am

well done, didn't think about this one
though, the noscript tag makes it unneccessary to do this kind of code in each of your webpages I guess
User avatar
Le Sage
<h3>
 
Posts: 54
Joined: Wed Dec 05, 2007 9:08 pm
Location: Casablanca, Morocco

Postby OmegaJunior » Tue Jul 29, 2008 8:54 am

anne wrote:What problem is solved by having these elements?


Frames, for instance, allow for separation and reuse of content without requiring script, either client-side or server-side. Can reduce the amount of bandwidth use and download lag for the visitor.

anne wrote:I don't think we should constrain the language to what IE6 currently supports as that will change over time.

I doubt that MSIE6 will ever change its CSS support. Other versions, mayhaps.

anne wrote:Frames have all kinds of usability issues. Not being able to bookmark, etc.

That is a problem of the browser, not of the author. Bookmarking, since you mention it, is possible for frames in Opera and Firefox, last time I checked.
OmegaJunior
<h6>
 
Posts: 9
Joined: Sun Oct 07, 2007 1:37 pm
Location: Netherlands

Postby desbest » Tue Jul 29, 2008 1:19 pm

OmegaJunior wrote:
anne wrote:Frames have all kinds of usability issues. Not being able to bookmark, etc.

That is a problem of the browser, not of the author. Bookmarking, since you mention it, is possible for frames in Opera and Firefox, last time I checked.


It actually is possible when server side scripting is used, for example
index.php?frameview=emailme
desbest
<h6>
 
Posts: 6
Joined: Tue Apr 15, 2008 11:02 pm

Postby Le Sage » Tue Jul 29, 2008 6:14 pm

OmegaJunior wrote:Frames, for instance, allow for separation and reuse of content without requiring script, either client-side or server-side.

That's true, but considering no web browser has ever supprted frames perfectly, & considering they bring so many trouble, I guess it was considered that using scripting was the least developpers could do if they wanted frame-like behaviour.
Anyway, browsers won't stop supporting frames any time soon, so if you don't like the idea of giving up frames, your code just won't validate HTML 5, that's all.
User avatar
Le Sage
<h3>
 
Posts: 54
Joined: Wed Dec 05, 2007 9:08 pm
Location: Casablanca, Morocco

Postby ktf » Tue Jul 29, 2008 6:52 pm

And of course you can simulate frame-like behavior with CSS:

Code: Select all
position: fixed;


;) That doesn't reduce bandwidth, but frames already consume more bandwidth: if you have 3 frames you'll have to load 4 pages, which results in more traffic. I think user experience has much more priority than webmaster's will: frames are problematic these days with search engines these days.
ktf
<h6>
 
Posts: 8
Joined: Fri May 25, 2007 3:06 pm
Location: Somewhere in The Netherlands

Postby desbest » Tue Jul 29, 2008 7:04 pm

It's all about the z-index and fixed positioning when it comes to using css to have the same effect as frames but not using frames.
desbest
<h6>
 
Posts: 6
Joined: Tue Apr 15, 2008 11:02 pm

Postby Le Sage » Wed Jul 30, 2008 8:06 am

You're right, guys, but I think OmegaJunior was more focused on factorizing html code (like a menu for example). Though I completely agree, I hate frames. Image
User avatar
Le Sage
<h3>
 
Posts: 54
Joined: Wed Dec 05, 2007 9:08 pm
Location: Casablanca, Morocco

Oh noes!

Postby SneakyWho_am_i » Wed Oct 08, 2008 1:34 pm

Drop all those elements, I hate them.

Except noscript - I don't hate that. But it's still useless, drop it anyway.

I've been writing XHTML lately (but this week I decided I could no longer live without canvas for ajax throbbers and stuff...) So I parted with the lovely noscript tag ages ago *sniff*

It's great for raising awareness, but otherwise it sucks.

What happens if your server hiccups on character encoding some time and your script doesn't execute? With noscript elements, the user is left wondering where their canvas paint program went. However if you use only normal elements, you can already have a warning there saying "Hey, something went wrong, you can't do captcha/paint/whatever because the script didn't load for some reason"

Basically the noscript element is only useful:
- if the user has javascript disabled

And it is HARMFUL:
- if the script execution does not begin
- if the script execution ends abnormally
- if minotaurs from space attack
- in most other cases

Really I don't think the noscript element is needed even for the HTML parser as it doesn't seem to serve any real purpose. It's just behavioural silliness, and we have javascript for that.
SneakyWho_am_i
<h5>
 
Posts: 13
Joined: Wed Oct 08, 2008 10:50 am
Location: New Zealand

Postby JAB Creations » Thu Oct 09, 2008 5:41 am

frame, frameset, and noscript elements are the only legit elements that a site should be able to use. Granted it takes a person of higher skill level to produce a frame-like navigation though frames still easily have their place on the web. Just because they are abused does not mean they should be ejected from suggested new versions of (X)HTML.
User avatar
JAB Creations
<aside>
 
Posts: 566
Joined: Tue Mar 13, 2007 4:48 am
Location: Sarasota Florida, USA

Next

Return to Feedback on the Specs

Who is online

Users browsing this forum: No registered users and 1 guest