Jump to content

navyfalcon

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by navyfalcon

  1. You should use a code validator to check your code. HTML Tidy will give you a corrected page https://htmltidy.net/ or https://infohound.net/tidy/ hope this helps, I like it because it gives a corrected page falcon
  2. Subject: Problems with images, width and height. Digits work but % does not. I want the webpage to display correctly with different screen sizes therefore %. How can I do this. The partial code below demonstrates this. Thank You falcon [code] 1.<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2. <html> 3. <head> 4. <title>Code Forum - system information and diagnostics utility</title> 5. <meta name="description" content="A powerful free HTML editor. Although this Web page software is completely free, it offers a solid collection of tools to help webmasters build Web sites with speed, ease, and convenience."> 6. </head> 7. <body bgcolor="#faebd7"> 8.<dl> 9. <dt>&nbsp;&nbsp;&nbsp;<b>Screenshots of Code Forum</b> 10. <dt></dt> 11. <dt><b></b><table width="100%" border="0" cellspacing="2" cellpadding="0"> 12. <tr> 13. <td width="50%"> 14. &nbsp;<img src="../Images/Code Forum HTML & CSS.jpg" width="90%" height="90%" align="LEFT"></td> 15. <td width="50%"> 16. &nbsp;<img src="../Images/Code Forum Web.jpg" width="90%" height="90%" align="RIGHT"></td> 17. </tr> [/code] computer= HP Compaq 6005 Pro MiniTower processor= AMD Phenom II X4 processor speed= 3.2GHz chipset= AMD 785G system= Win 7 Pro Note: OK the system is old, I mean ancient, so is the software.
  3. <!doctype HTML PUBLIC > <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <meta http-equiv="Content-Language" content="en-us"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="DESCRIPTION" content="King James Bible; Genesis 1:1-31. Creation of the Heavens and Earth. Creation of Light and Plants, fowl, fish and animals. Then God created man"> <title>Genesis Chapter 1:1-31. Creation of the Earth.</title> <link rel="STYLESHEET" type="text/css" href="default.css"> </head> <body background="../Images/creamswirl.gif"> <embed type="text/html" src="head.html" width="100%" height="55%"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b><font size="+2">Genesis 1</font>&nbsp;&nbsp;&nbsp;&nbsp; <font size="+1">Creation of the Earth</font></b><br> <embed type="text/html" src="GenChptr.html" width=100%" height="100%">
  4. External HTML how to add a header to all html pages 1. put this in your page <script src="https://www.w3schools.com/lib/w3.js"></script> 2. then where ever you want your html code, from the separate file, to be included to your page <div w3-iinclude-html="header.html"></div> template <! doctype html> <html> <head> <meta http-equiv="content-type.... <meta http-equiv="content-language.... <meta name=.... <title>.... <llink rel="stylesheet.... <style type=".... </style> <script src="https://www.w3schools.com/lib/w3.js"></script> </head> <body background=.... <dl> <dt><b><a name=".... <div w3-include-html="header.html"></div> <script>w3.includeHTML();</script> </body> </html> unable to get this to work any suggestions thank you falcon
  5. This does not work for me I tried changing to "javascript where to" Example: <script="header.js"></script> as in the w3schools "javascript where to" it also did not work any help would be appreciated thank you falcon External HTML how to add a header to all HTML pages 1. put this in your page <script src="https://www.w3schools.com/lib/w3.js"></script> 2. then where ever you want your html code, from the separate file, to be included to your page <div w3-include-html="header.html""></div> template: <!doctype html> <html> <head> <meta http-equiv="content-type... <meta http-equiv="content-language... <meta name=.. <title>... <link rel="stylesheet... <style type="... </style> <script src="https://w3schools.com/lib/w3.js"></script> </head> <body background=... <dl> <dt><b><a name="... <div w3-include-html="header.html"></div> <script>w3.includeHTML();</script> </body> </html>
×
×
  • Create New...