LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 11
Posts: 1,288

Rep: Reputation: 52
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: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
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
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,727

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
“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 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
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



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
[SOLVED] No sound in HTML5(and HTML5 on Youtube) Hoff123 Linux - General 3 09-19-2020 07:46 AM
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
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 09:49 AM.

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
Open Source Consulting | Domain Registration