The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

7 Pages V « < 4 5 6 7 >  
Reply to this topicStart new topic
> Padding problem
pandy
post May 17 2020, 11:30 AM
Post #101


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



QUOTE(deb1 @ May 17 2020, 04:32 PM) *

For error 4, error 8-11 your saying that i have duplicated the whole HEAD section with style block and all after the External Hardware heading.


Yes, and once again after the other heading.

QUOTE
well can you show me how to make multiple separate tables on the same page please?


The same way as you created the table you already have. There is no trick to it.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
deb1
post May 17 2020, 12:42 PM
Post #102


Advanced Member
****

Group: Members
Posts: 109
Joined: 7-May 20
Member No.: 27,330



OK so if i did it the right way then what should i do with the error ? should i just ignore it or should change something ?
if i need to change something can you tell me what it is please.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post May 17 2020, 01:37 PM
Post #103


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



You should remove the duplicated stuff that doesn't belong in BODY.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
deb1
post May 17 2020, 03:58 PM
Post #104


Advanced Member
****

Group: Members
Posts: 109
Joined: 7-May 20
Member No.: 27,330



Like what.... give an example from what should be removed but still give the same output please
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post May 17 2020, 04:43 PM
Post #105


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



I did. The the whole HEAD section and the start tag for BODY you have after the headings.


<h2>What components make up a desktop computer?</h2>
<head>
<style>
table,th,td{
border: 1px solid black;
border-collapse:collapse;
</style>
<body>

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
deb1
post May 18 2020, 12:56 AM
Post #106


Advanced Member
****

Group: Members
Posts: 109
Joined: 7-May 20
Member No.: 27,330



can you fix that in my file and send it to me . please . it will make it
easier for me to understand. please
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
deb1
post May 18 2020, 01:33 AM
Post #107


Advanced Member
****

Group: Members
Posts: 109
Joined: 7-May 20
Member No.: 27,330



Please check the file which says computer drives. i have fixed the errors can you please check if it is okay now. if still not then please let me know what to fix


Attached File(s)
Attached File  website.zip ( 133.12k ) Number of downloads: 69
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post May 18 2020, 08:22 AM
Post #108


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



You've fixed the errors about the duplicated HEAD in BODY, but some of the other errors remain and you have some new ones. Some about about spaces in URLs. We talked about that before.

Then you have forgotten the closing tag for A in several places. For example here.
CODE
<td><a href="What is a floppy drive.html">What is a floppy drive?</td>

^^^

https://validator.w3.org/#validate_by_upload
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post May 18 2020, 08:52 AM
Post #109


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



A tip for you. Fix errors before you add more content.

Write a basic page with just doctype, head, body and a line of text. Validate. If that's good, add a little bit more. Validate again. And so on. That is validate often and fix any errors before you go on.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
deb1
post May 18 2020, 09:42 AM
Post #110


Advanced Member
****

Group: Members
Posts: 109
Joined: 7-May 20
Member No.: 27,330



spaces in the URL .... what does that mean ? can you point out where the space is in the URL please?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post May 18 2020, 11:30 AM
Post #111


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



Same as before with your images. Now it's links. You have spaces in the file names which is OK, only URLs leading to those files can't contain spaces since the space character isn't allowed in URLs.

For example this link. But you have the same problem with all links that lead to files that have more than one word in the name.

CODE
<a href="What is a CD-ROM.html">What is a CD-ROM?</a>


So, as before, either URL encode the spaces in the URLs, i.e. replace them with %20. Or better, rename the files and use underscore or hyphen instead of space to separate words.

Everything that leads to another file is an URL. It may be in a link as now, in the src of an image or when you later start to use external CSS and JavaScript.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
deb1
post May 18 2020, 02:41 PM
Post #112


Advanced Member
****

Group: Members
Posts: 109
Joined: 7-May 20
Member No.: 27,330



So your saying it should be like this:<a href="what_is_a_Cd-ROM.html"> what is a CD-ROM? </a>

Is this correct? If not then tell me where I am going wrong
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post May 18 2020, 03:17 PM
Post #113


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



Yes, if you want. But you must also rename the file the same way.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
deb1
post May 18 2020, 04:42 PM
Post #114


Advanced Member
****

Group: Members
Posts: 109
Joined: 7-May 20
Member No.: 27,330



If I write it like that will the error show?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post May 18 2020, 05:22 PM
Post #115


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



No, of course not. But the link won't work unless you also change the file name of the html file you link to. If that was what you meant?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
deb1
post May 18 2020, 11:37 PM
Post #116


Advanced Member
****

Group: Members
Posts: 109
Joined: 7-May 20
Member No.: 27,330



for the computer drives it is showing two error still after putting the file into the validator. The errors which are showing i don't understand . can you please explain it to me . please smile.gif

This post has been edited by deb1: May 18 2020, 11:39 PM


Attached File(s)
Attached File  computer_drives.html ( 2.51k ) Number of downloads: 59
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
CharlesEF
post May 19 2020, 12:20 AM
Post #117


Programming Fanatic
********

Group: Members
Posts: 1,981
Joined: 27-April 13
From: Edinburg, Texas
Member No.: 19,088



I put your page through the W3 validator and got 1 warning. Just add the 'lang' attribute, like this:
CODE
<html lang="en">
Once that was done there were no errors reported.

This post has been edited by CharlesEF: May 19 2020, 12:21 AM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
deb1
post May 19 2020, 01:54 AM
Post #118


Advanced Member
****

Group: Members
Posts: 109
Joined: 7-May 20
Member No.: 27,330



Can you explain this error to me because when put the file through this was the second error which was showing.
Error: The character encoding was not declared. Proceeding using windows-1252.


For the first error is it necessary to put "lang"?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post May 19 2020, 07:56 AM
Post #119


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



The lang thing is a warning, not an error. You can do as you please with that. The character encoding is an error.

The character encoding we talked about when you started to validate. I don't use it myself, because it's better declared on the server (for my purposes), in what's called a HTPP header. I also thought we could save that a bit since it also involves with what character encoding the document is saved if you use a single non ASCII character and I thought you had enough on your plate for now.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
deb1
post May 19 2020, 08:55 AM
Post #120


Advanced Member
****

Group: Members
Posts: 109
Joined: 7-May 20
Member No.: 27,330



okay agreed. so the file is okay now?
can you tell me anyway what the character encoding will look like in a html program please.
can you give an example of t please.

This post has been edited by deb1: May 19 2020, 08:58 AM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

7 Pages V « < 4 5 6 7 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th April 2024 - 02:45 AM