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

What HTML5 could learn from XHTML2

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.

What HTML5 could learn from XHTML2

Postby Felix-AC » Mon Sep 24, 2007 4:36 pm

Hi!

I think, it would be very good, if HTML5 uses some of the good ideas of XHTML2. Like e.g. the <h>-<section>-model that is better than <h1> - <h6>, <separator> instead of <hr>, removing the <font>-element and the <iframe>-tag, ...

A list of more great things, that HTML5 could use from XHTML2 is found here:
http://www.xhtml.com/en/future/x-html-5-versus-xhtml-2/

Best wishes for the standards-development...
Felix
Felix-AC
<h6>
 
Posts: 1
Joined: Mon Sep 24, 2007 4:16 pm

Re: What HTML5 could learn from XHTML2

Postby zcorpan » Wed Sep 26, 2007 12:10 am

Felix-AC wrote:I think, it would be very good, if HTML5 uses some of the good ideas of XHTML2.
Indeed, this has already been done while still remaining compatible with existing implementations.
Felix-AC wrote:Like e.g. the <h>-<section>-model that is better than <h1> - <h6>,
See: http://forums.whatwg.org/viewtopic.php?t=42
Felix-AC wrote: <separator> instead of <hr>,

<hr> is defined to be a thematic break. It needs to be called "hr" for compat.
Felix-AC wrote: removing the <font>-element
font will be removed.
Felix-AC wrote:and the <iframe>-tag, ...
Why?
zcorpan
<article>
 
Posts: 807
Joined: Tue Feb 06, 2007 8:29 pm
Location: Sweden

Postby haka » Sun Dec 02, 2007 7:37 pm

I dont agree with Felix-AC cause we need the backwards compatibility.

But XHTML applies the href-Attribute to body tags. This wouldnt be compatible to, but if the A tag allowes block-level tags inside, it would be a bit like this. Browers supports it know.

Here I dont see a problem:
Code: Select all
<a href="./"><h1>Headline</h1></a>


I dont know if this would be able:
Code: Select all
<ul>
<a href="./"><li>List item</li></a>
</ul>
haka
<h5>
 
Posts: 15
Joined: Mon Nov 19, 2007 10:39 pm

Postby zcorpan » Sun Dec 02, 2007 8:11 pm

haka wrote:I dont agree with Felix-AC cause we need the backwards compatibility.

But XHTML applies the href-Attribute to body tags. This wouldnt be compatible to, but if the A tag allowes block-level tags inside, it would be a bit like this. Browers supports it know.

Here I dont see a problem:
Code: Select all
<a href="./"><h1>Headline</h1></a>


I dont know if this would be able:
Code: Select all
<ul>
<a href="./"><li>List item</li></a>
</ul>

What's wrong with:
Code: Select all
<h1><a href="./">Headline</a></h1>

Code: Select all
<ul>
<li><a href="./">List item</a></li>
</ul>
...?
zcorpan
<article>
 
Posts: 807
Joined: Tue Feb 06, 2007 8:29 pm
Location: Sweden

Postby haka » Fri Dec 07, 2007 3:37 am

Nothing is wrong with it.

News pages uses often text with headline and paragraphs as a one link.

Code: Select all
<a href="?news=222">
<span class="h2">Nessie lives</span>
<span class="p>Nessie was seen near Emden at the german cost ...</span>
</a>


It works with a bit CSS display:block, font-size and margin, but it is not sematic.
haka
<h5>
 
Posts: 15
Joined: Mon Nov 19, 2007 10:39 pm

Postby zcorpan » Mon Dec 10, 2007 6:54 pm

haka wrote:News pages uses often text with headline and paragraphs as a one link.

Code: Select all
<a href="?news=222">
<span class="h2">Nessie lives</span>
<span class="p>Nessie was seen near Emden at the german cost ...</span>
</a>


It works with a bit CSS display:block, font-size and margin, but it is not sematic.
Aha! Now we're getting somewhere. :)

See: http://lists.whatwg.org/pipermail/whatw ... 13024.html
zcorpan
<article>
 
Posts: 807
Joined: Tue Feb 06, 2007 8:29 pm
Location: Sweden

Postby haka » Mon Dec 17, 2007 12:55 am

Ah, o.k. :)
haka
<h5>
 
Posts: 15
Joined: Mon Nov 19, 2007 10:39 pm

Postby billyswong » Sun Jan 13, 2008 3:34 am

Wow, long time no see the WHATWG and my mailing list post 2 years ago finally got answered!:D Thanks for showing me the link. I've never thought it would surface again, as I have stop reading the mailing list for a long time.
billyswong
<h6>
 
Posts: 4
Joined: Sat Mar 10, 2007 2:05 am
Location: Hong Kong, China


Return to Feedback on the Specs

Who is online

Users browsing this forum: No registered users and 1 guest