HTML5 and HTTP

P

pranay

Hi,

Can you let me know if HTML5 affects the HTTP in any ways? ( What is
the co-relation between the 2?)

Will the client / server handing of HTTP be affected in any ways due
to HTML5?

thanks
Pranay
 
D

Dylan Parry

pranay said:
Can you let me know if HTML5 affects the HTTP in any ways? ( What is
the co-relation between the 2?)

Will the client / server handing of HTTP be affected in any ways due
to HTML5?

If you’re writing HTML 5 as HTML (ie. HTML5) then you won’t have any
issues serving the pages as you still use the MIME type text/html. If
you plan on writing HTML 5 as XHTML (ie. XHTML5), then you’ll likely run
into issues with Internet Explorer as you’d be serving the files with an
XML MIME type.

It’s important to note however that you can write HTML5 (ie. HTML 5 as
HTML) using an XHTML syntax (closing empty elements with a / etc) and it
will still be perfectly valid as either syntax is allowed within the
spec (as long as you’re writing as HTML5 not XTHML5).

It’s a little confusing at first, but once you get your head round it,
it makes perfect sense.
 
R

rf

pranay said:
Hi,

Can you let me know if HTML5 affects the HTTP in any ways? ( What is
the co-relation between the 2?) << don't you mean *two*?

Why would it. HTTP is a protocol layed over TPC/IP for transferring data in
a certain way.

HTML is a markup language.

It's like asking if the new cars will alter the configuration of the road.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top