Questions tagged [html4]

HTML Version 4.0 was published in Dec '97 by the W3C. It offers three variations: Strict, in which deprecated elements are forbidden, Transitional, in which deprecated elements are allowed, Frameset, in which mostly only frame related elements are allowed

Filter by
Sorted by
Tagged with
-2 votes
1 answer
20 views

Prevent direct access to htm files, allow access through <frame> tags

I'm working with an older web application that uses the HTML4 <frame> tag to insert the navbar, content etc. in the index.php file. I want to allow the <frame> tag to load these files, but ...
  • 388
0 votes
0 answers
24 views

HTML frame tag not supporting style="overflow: xyz"?

It seems that the HTML <frame> tag does not support overflow styles like for example style="overflow: hidden". <frame name="menu" src="menu.html" style="...
  • 196
0 votes
1 answer
97 views

style problems when switching from internet explorer to edge

I'm working on a legacy application created with HTML 4, The application is working correctly on Internet Explorer, I want to run the application on Edge chromium and chrome, but I get many style ...
1 vote
4 answers
144 views

There were no semantic tags in HTML4?

I know semantic tags were added in HTML5. So isn't the table tag in HTML4 not a semantic tag? Can only tags such as header, section, article, etc. added in HTML5 be called semantic tags? I'm really ...
1 vote
2 answers
154 views

Can't define HTML table height

I'm working on a school project, where we have to design a website with html 4.01 and must not use CSS at all. My Question is, how can I expand a table over the whole window height? I have tried the ...
1 vote
0 answers
159 views

Vue: Can we use Object tag with a property of HTML4 like 'classid' in Vue.js?

I want to convert some sources that worked in maybe HTML4 to Vue.js source. As I know the property 'classid' in <object> tag is removed in HTML5. Can we use HTML4 in Vue.js? and How to use this &...
-3 votes
3 answers
58 views

How do i change the background color of my website with HTML

Help me,i need to change the color of the background of my website and i dont know how, I still haven't tried doing that because i dont know how. I have only coded these lines: <!DOCTYPE html&...
0 votes
1 answer
242 views

Footer coming over flex box items.Not able to get footer at the page end of page. tried using grid and flex box. This is the code with grid

after creating products using flexbox items, the footer which has a google map location and communication details, it is coming over the flexbox items having product images. I have tried using various ...
0 votes
1 answer
101 views

Why do XHTML tags work in HTML5 documents and vice versa?

According to this document there are some XHTML tags, that are not supported in new HTML5 standard, for example big and strike. However when I declare my html document as HTML5 they still work for ...
-2 votes
2 answers
145 views

Accessibility wise, what's the oldest browser currently in use? What's the oldest browser I can realistically program for? [closed]

Which syntax and features should I use if I wanted to write a webpage that could be correctly parsed by any device realistically still in use? By currently in use I mean also devices whose usage is ...
0 votes
1 answer
74 views

Why does this link, which works when pasted into a url bar, not work when clicked?

I had this really strange problem that I figured out the solution to and I wanted to share it with the world, so I'm going to ask a question on here and answer it myself. Probably some other people ...
  • 2,426
1 vote
1 answer
5k views

Difference between lang="" and lang="zxx" [duplicate]

Is there any difference between lang="" and lang="zxx"? And are they compatible with both HTML4 and HTML5?
-1 votes
1 answer
380 views

Does viewport meta tag work in HTML 4.01?

I am working on a project where they have created web pages in HTML4.01 and now they want the pages should be supported with two new tracking handheld devices. I have added viewport meta tag and ...
0 votes
2 answers
904 views

How to remove text-decoration from gmail signature

Context: My client asked me to create an email signature with links to twitter, Facebook and LinkedIn. My problem: When I copy/paste the email signature of the browser to an email, the text-...
0 votes
0 answers
82 views

Do old browsers recognizes HTML5 charset format?

I read lots of information on the web, and couldn't find the answer of this quistion. If I use <meta charset="utf-8"/> will the coding be applied correctly in browsers that don't support HTML5?...
2 votes
1 answer
596 views

How can I add a dotted line between two texts with HTML2PDF

I'm trying to create a pricing recap at the end of a document I'm working on. I would like it to have a dotted line between the item on the left and the price on its right, very much like this : ...
  • 103
-1 votes
1 answer
91 views

HTML4 to HTML5: What is an equivalent of <hr size=1> to HTML5?

How do i transition from html4 <hr size=1> to html5 with same displays? I have tried using <hr style="height:1px"> but it ended up a little different. Thanks.
  • 103
0 votes
0 answers
62 views

How to get the currentTime of Video which is running on <object> html tag?

I'm working on a TV App which is limited to HTML4 and I want to use an <object> tag for displaying video, but I've been looking for a way to get the currentTime of the video!
0 votes
1 answer
3k views

Load about:blank page with content in URL

Back in the day, I used to be able to open a web browser (worked on Internet Explorer 7 for sure) and type in something with about: in the browser's address bar, along with some simple text like "...
  • 348
0 votes
1 answer
47 views

Section tag in HTML4 not creating aligned columns

I am creating a list of films by decade using the article and section tags. The problem is this: the second and third row align perfectly, while the first row is slightly off. Here is my code: <...
  • 1
-4 votes
2 answers
6k views

Redirect to another html page using only html and javascript [duplicate]

How to go to another page using only html and css. I have tried with window.location.href="admin.html"; This statement not working. <input type="text" value="Username" name="username" /><...
0 votes
0 answers
136 views

Adding options to a Select control in IE8/IE9

I have an iframe with a select control in it that I would like to add some options to. I am able to add options to the select inside the iframe using IE10+, Firefox, and Chrome, but my current ...
  • 371
0 votes
3 answers
414 views

Javascript - how to position image in a table

I am trying to position a 'random' image into a table column. Basically, I select the image based on the second that the the page is loaded - so 60 images available. The image selects and displays but ...
-1 votes
1 answer
41 views

What technique does Wikipedia use to convert non-latin characters to be ID safe?

I am trying to auto-generate IDs for headings, to be used as anchor links. Because we don't know what language the heading is in, it should work for any language and not create illegal characters. So ...
  • 8,292
0 votes
4 answers
43 views

Markup for download link between paragraphs

What is the recommended way to markup a single download link between paragraphs of text? I currently use the blockquote element: <blockquote><a href="...">...</a></blockquote> ...
0 votes
0 answers
428 views

Why does React JSX not support HTML5 entity names?

As shown in this code here, and noted here, only HTML4 character entities are supported within literal text in JSX. Why are HTML5 entity names not supported? Specifying the names of any of the new ...
  • 2,028
0 votes
1 answer
681 views

Making responsive table out of normal HTML table

So, I've made an email, with HTML4.01 Strickly using nested tables. <body bgcolor="#666666"> <table width="600" cellpadding="0" cellspacing="0" border="0" align="center" bgcolor="#...
user avatar
1 vote
0 answers
29 views

How to shift focus from a page A to page B in HTML4?

I have a old ASP Classic application that shows a dashboard in a 42 TV for the people working on the Call Center. The dashboard is just a web page with a big SQL script behind. There is too much data ...
0 votes
1 answer
572 views

real media player video and audio files. (.rm and .ram) used in html code not working in current browser

I have a code containing real media player video and audio files. (.rm and .ram). They are not working in browsers. Can you please suggest a solution. The code contains an embed tag which has a .rpm ...
0 votes
2 answers
952 views

Whether browser recognize document HTML version

I have a html document written in HTML 4. I used required attribute from HTML 5 which worked properly to my surprise. I saw error red border when input was empty. I think that browser recognized this ...
0 votes
0 answers
150 views

Error: File to import not found or unreadable: ../bower_components/

I am working on bootstrap 4 . but i will try to import bootstrap.scss but its not working. Error:- body:before { white-space: pre; font-family: monospace; content: "Error: File to import not found ...
0 votes
2 answers
405 views

Can someone explain the correct usage of the h1 tag?

In html4 headings are what create structure, however in html5 structuring elements do, but this algorithm isn't supported yet, so the html4 way of creating structure is used currently. This is leading ...
  • 387
5 votes
4 answers
12k views

Rounded border without border-radius

I'm developing a website using with HTML4, CSS2. so I can't use border-radius property. How can I create <div> or <table> what has rounded border? Thank you in advance.
  • 83
0 votes
1 answer
60 views

Did pdf open in the browser

I need to know if the pdf opened in the browser or in a separate reader. I'm working on a website that will open a pdf file in a new window, but some people knowingly or unknowingly set their browser ...
  • 187
1 vote
1 answer
7k views

youtube embed video fullscreen with object tag

I know that youtube now uses <iframe> tag for embeded videos insted of <object>. I have some legacy code that requires fullscreen mode with <object> tag implementation. Is it ...
  • 9
0 votes
0 answers
333 views

Testing HTML4 / CSS2 / JavaScript in 2017?

Apologies in advance if this is the wrong forum for this question - if it is, please suggest an alternative and I'll flag this post to be moved there. I've been working on a project where an engine ...
  • 36.4k
0 votes
1 answer
66 views

data-role="form" gives error in W3C Validator

A friend of mine has a website with this doctype: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> I know it is an old doctype. The ...
0 votes
1 answer
161 views

create html5 element on html4 page? doctype can't be changed

We have two example websites: http://fastpic.ru/ (html4 doctype) and http://imagebam.com/ (html5 doctype) and I need to make a html5 element on both sites via javascript (userscript), the element ...
  • 653
0 votes
0 answers
425 views

Alternative to role="presentation" for HTML4 emails

In the HTML5 doctype, you can add the role="presentation" attribute to an email (or any HTML5 doc using tables) and the screen reader (VoiceOver on Mac specifically) will not announce unnecessary ...
  • 1
2 votes
0 answers
537 views

how to block code of a page of an external URL opened inside an iframe from HTTP to HTTPS (cross browser domain) in all browsers?

I program using (javascript) jQuery and HTML4, i'm not an full expert i just know a little. I have a page with an IFRAME that points to a DIFFERENT DOMAIN'S page of a bank's site to retrieve some ...
-1 votes
1 answer
261 views

I am trying to play avi videos dynamically on IE8 browser

I am trying to play avi videos dynamically on IE8 browser my videos are in AVI format that a user will upload to my server. I have some test html code and this works where it plays the video. <...
0 votes
1 answer
121 views

Do html5-compliant parsers process html 4 and older correctly?

Here https://en.wikipedia.org/wiki/Tag_soup#HTML5 it's written: HTML5 aims to be the most complete solution to the problem of tag soup thus far while remaining as backwards- and forwards-...
  • 1,825
0 votes
1 answer
47 views

What is the way to point to document index/TOC/up in HTML5?

HTML 4 spec has rel="index" / rel="contents" / rel="up". HTML 5 spec have no such elements. Do they officially deprecated? Or may I just look in wrong place of HTML 5 spec? What is the way to point ...
  • 44.2k
0 votes
1 answer
231 views

CKEditor HTML4 validation to support HTML Emails

Several questions in one here but I suspect will all have the same answer. Using the CKEditor in a CakePHP project where the content being edited is to make the html part of an email. Most email ...
0 votes
4 answers
4k views

Why is width on td element not working with table-layout fixed?

I have read many post on SO about this, e.g. TD column width value not working with fixed table-layout td widths, not working? etc. But still when I give width to td it doesn't get that width. Here is ...
  • 7,111
0 votes
1 answer
2k views

Unable to connect to mysql database using jsp page but below error java.sql.SQLException: No suitable driver found jdbc:mysql://localhost:3306/dbname

Here is my code: <%@page import="java.io.FileInputStream"%> <%@page import="java.io.File"%> <%@page import="java.io.InputStreamReader"%> <%@page import="java.net....
0 votes
1 answer
228 views

What is the <isindex> element in HTML?

Apparently after doing a little research on the HTML <head> element I learned of the semi-existence of the <isindex> element and how it seems to have never been fully implemented... I ...
user avatar
2 votes
1 answer
13k views

Multi-Image Slider

I am looking to make a slider that holds multple images, its an extremely simple product slider with images that link to their product pages. I want the arrows to be on either side of the slider. I ...
0 votes
1 answer
34 views

Website navigations and sliders

Is there a way in HTML4 to have your site navigation link to different sliders on the page. Meaning if i have a navigatio: Catagory 1 | Catagory 2 | Catagory 3 | Catagory 4 is there a way ...
0 votes
1 answer
696 views

What is the default unit if the specified font size has none?

I'm converting HTML4 to HTML5, and I have this: <font face="Verdana" size="2"> The above is no longer supported in HTML5. What value and unit does the font size above map to in CSS?
  • 2,758

1
2 3 4 5