LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-25-2019, 06:06 AM   #1
rblampain
Senior Member
 
Registered: Aug 2004
Location: Western Australia
Distribution: Debian 9.2
Posts: 1,134

Rep: Reputation: 50
html4 to html5 question


I have some knowledge of HTML4 but I have never used HTML5, I now find I may be able to improve one HTML4 page (which uses Frames) if I could use the "drop down" element available in HTML5 but what I read about HTML5 confuses me.
According to what I read, modern browsers are fully backward-compatible and I can easily change only the first line of the page (the 'doctype' line) to make it an HTML5 document and leave everything else as is. But HTML5 "does not support frames"..so the browsers cannot be "fully backward-compatible".. or will they consider the page as a W3C validator incorrect page but happily process it as a mixture of both??

Of course it's only a matter of trying but I thought it wiser to ask advice first.

Thank you for your help.
 
Old 03-25-2019, 03:51 PM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 11,308
Blog Entries: 8

Rep: Reputation: 2934Reputation: 2934Reputation: 2934Reputation: 2934Reputation: 2934Reputation: 2934Reputation: 2934Reputation: 2934Reputation: 2934Reputation: 2934Reputation: 2934
i don't think any browser is currently interested in removing support for outdated or badly coded sites. hell, even flash is still supported.

so your frames will likely continue to work.
that said, i think they were an internet explorer thing originally and in 2019 no self-respecting web designer would touch them with a 10-foot selfie stick.

what's a "html5 drop down element"? maybe this? and how is it going to replace a frame?
 
2 members found this post helpful.
Old 03-25-2019, 04:04 PM   #3
scasey
Senior Member
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.6
Posts: 2,751

Rep: Reputation: 949Reputation: 949Reputation: 949Reputation: 949Reputation: 949Reputation: 949Reputation: 949Reputation: 949
“Backward compatible” means old code will continue to be supported. I’m sure there’s more to changing to HTML5 than changing the doctype metatag...Which is not even required to be present.

And I too wonder what the OP means by “html5 drop down element”. As ondoho has said, that term usually describes a type of form element...
 
1 members found this post helpful.
Old 03-25-2019, 04:08 PM   #4
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 7,521
Blog Entries: 2

Rep: Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642Reputation: 2642
If you like being standards compliant and up-to-date, replace those frames with suitable divs as part of a process of updating the entire web page/site to html5. It will be a useful and educational exercise for you.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Will HTML4 be always supported by browsers? patrick295767 Programming 3 04-21-2017 12:10 PM
Software to convert html5 to old html4 (downgrading)? Xeratul Linux - Software 5 05-27-2015 09:32 AM
How does a server serves html4 documents? rblampain Programming 4 07-13-2014 04:27 PM
[SOLVED] No sound in HTML5(and HTML5 on Youtube) Hoff123 Linux - General 2 03-07-2012 04:30 PM
LXer: 15 HTML5 Demos Showcasing Prowess of HTML5 Over Adobe Flash LXer Syndicated Linux News 0 08-14-2010 02:42 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration