Stránka: 1 z 1
| [ Príspevkov: 26 ] | |
| Autor | Správa |
|---|
Registrovaný: 18.08.07 Prihlásený: 13.12.08 Príspevky: 86 Témy: 19 | 19 |
Takze mam pocitadlo na stranke a neni validne, pls opravte mi niekto chyby, validator ukazuje 3 chyby:
Kód: <a href="http://www.netagent.cz"><script language="JavaScript" type="text/javascript"> <!-- document.write ('<a href="http://www.netagent.cz" target="_top"><img src="http://www.netagent.cz/agent.php?id=7470&box=1&color=klasik&ur='+escape(document.referrer)+'&rw='+escape(window.screen.width)+'&rh='+escape(window.screen.height)+'&cd='+escape(window.screen.colorDepth)+'&pt='+escape(document.title)+'&lc='+escape(document.location)+'" width="100" height="72" border="0" alt="NetAgent"></a>'); //--></script></a><noscript><a href="http://www.netagent.cz" target="_top"><img src="http://www.netagent.cz/agent.php?id=7470&box=1&color=klasik" border="0" alt="NetAgent" width="100" height="72" /></a></noscript>
|
|
Registrovaný: 01.05.05 Príspevky: 13557 Témy: 1483 | 1483 Bydlisko: Bratislava |
Dobre by bolo mozno napisat ze validne podla coho? HTML 1.0 Strict? alebo XTML 1.1 ? Alebo....
_________________ Streacom DA2 | SilverStone Titanium SX800-LTI 800W | ASRock X299E-ITX/ac | Intel Core i9-9980XE & be quiet! Dark Rock TF | Kingston HyperX Impact 64 GB DDR4 2666 MHz | NVIDIA Titan RTX 24 GB | Intel SSD Optane 905P 480 GB NVMe U.2 & Intel SSD 750 1,2 TB NVMe U.2 & Intel SSD 660p 2 TB NVMe M.2 & Seagate BackUp Plus Portable 56 TB USB | 55" 4K OLED Dell Alienware AW5520QF | Ergotron LX Wall Mount Keyboard Arm | Logitech Craft | Logitech G603 | Logitech F710 | Harman Kardon Sabre SB 35 & Sennheiser RS 175 | Microsoft Windows 11 Enterprise | APC Back-UPS BE-850 VA | Lenovo ThinkPad X1 Carbon | SilverStone ML05B Milo | Corsair SF600 SFX 600W | ASRock X99E-ITX/ac | Intel Xeon E5-2683 v4 & NOCTUA NH-L12S | Kingston HyperX Savage 32 GB DDR4 2400 MHz | NVIDIA GeForce GT 710 1 GB | Intel SSD Optane Memory 32 GB NVMe M.2 & Intel SSD 730 240 GB SATA & Samsung SSD 860 1 TB | Ubuntu 24.04 LTS | Dell Wyse 3040 | Intel Atom x5-Z8350 | 2 GB DDR3 1600 MHz | 16 GB eMMC | 24" EIZO FlexScan EV2451 | Alpine Linux + XFCE4 |
|
Registrovaný: 26.11.06 Prihlásený: 09.10.24 Príspevky: 4118 Témy: 319 | 319 Bydlisko: HE/BA |
a dobre by bolo tie chyby aj napisat
|
|
Registrovaný: 18.08.07 Prihlásený: 13.12.08 Príspevky: 86 Témy: 19 | 19 |
sry, zabudol som, takze HTML 4.01 Trasitional
Kód: Line 44, Column 397: end tag for "SCRIPT" omitted, but its declaration does not permit this. …="72" border="0" alt="NetAgent" /></a>');
✉ You forgot to close a tag, or you used something inside this tag that was not allowed, and the validator is complaining that the tag should be closed before such content can be allowed.
The next message, "start tag was here" points to the particular instance of the tag in question); the positional indicator points to where the validator expected you to close the tag. Line 42, Column 33: start tag was here. <a href="http://www.netagent.cz"><script language="JavaScript" type="text/javasc Line 45, Column 13: end tag for element "SCRIPT" which is not open. //--></script></a><noscript><a href="http://www.netagent.cz" target="_top"><img
✉
The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.
If this error occurred in a script section of your document, you should probably read this FAQ entry. Line 45, Column 17: end tag for element "A" which is not open. //--></script></a><noscript><a href="http://www.netagent.cz" target="_top"><img
✉
The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.
If this error occurred in a script section of your document, you should probably read this FAQ entry. Line 45, Column 204: NET-enabling start-tag requires SHORTTAG YES. …t="NetAgent" width="100" height="72" /></a></noscript>
✉
The sequence <FOO /> can be interpreted in at least two different ways, depending on the DOCTYPE of the document. For HMTL 4.01 Strict, the '/' terminates the tag <FOO (with an implied '>'). However, since many browsers don't interpret it this way, even in the presence of an HMTL 4.01 Strict DOCTYPE, it is best to avoid it completely in pure HTML documents and reserve its use solely for those written in XHTML.
|
|
Registrovaný: 26.11.06 Prihlásený: 09.10.24 Príspevky: 4118 Témy: 319 | 319 Bydlisko: HE/BA |
hmm... daj sem radsej link na ten validator(myslim to cele co ti to vypluvlo aj so zadanou strankou) lebo ja sa v takychto "kodoch" velmi nevyznam 
|
|
Registrovaný: 18.08.07 Prihlásený: 13.12.08 Príspevky: 86 Témy: 19 | 19 |
alebo:

|
|
Registrovaný: 29.11.07 Prihlásený: 05.04.08 Príspevky: 59 Témy: 2 | 2 Bydlisko: Bratislava ... |
No podla tych screenov vidim, ze pocitadlo je XHTML...
Takze teraz mas na vyber co s tym spravis:
1. Vykasles sa na to
2. Prerobis celu svoju stranku na XHTML (nieje to nerealne, ale strasne zdhlave a nudne)
3. Prerobis pocitadlo do HTML (schodnejsie cesta)

_________________ Apple Mac mini 1.5GHz G4
iPod shuffle 1st gen 512MB&2nd gen 1GB
+este huciace PCko s WinXP... |
|
Registrovaný: 18.08.07 Prihlásený: 13.12.08 Príspevky: 86 Témy: 19 | 19 |
Neprerobili by ste to prosim niekto do HTML ? LEbo je to tam splietane ako vidim aj so skriptami, a tie zatial neovladam.
|
|
Registrovaný: 29.11.07 Prihlásený: 05.04.08 Príspevky: 59 Témy: 2 | 2 Bydlisko: Bratislava ... |
Skripty si nevsimal, nastuduj si niekde na nete rozdiel medzi HMTL a XHTML (nieje to nic zlozite), a ides..
_________________ Apple Mac mini 1.5GHz G4
iPod shuffle 1st gen 512MB&2nd gen 1GB
+este huciace PCko s WinXP... |
|
Registrovaný: 18.08.07 Prihlásený: 13.12.08 Príspevky: 86 Témy: 19 | 19 |
no co som asiel cez google nejake rozdiely medzi HTML a XHTML, tak tie mi nepomozu vo validovani toho pocitadla
keby sa nasiel niekto kto by mi to prevalidoval bol by som rad 
|
|
Registrovaný: 29.11.07 Prihlásený: 05.04.08 Príspevky: 59 Témy: 2 | 2 Bydlisko: Bratislava ... | |
Registrovaný: 18.08.07 Prihlásený: 13.12.08 Príspevky: 86 Témy: 19 | 19 |
uz som medzitym nato prisiel, ale diky moc
|
|
Registrovaný: 18.08.07 Prihlásený: 13.12.08 Príspevky: 86 Témy: 19 | 19 |
este toto mi povedzte pls co je zle na tychto paddingoch??

|
|
Registrovaný: 27.07.07 Príspevky: 3948 Témy: 51 | 51 Bydlisko: Bratislava |
chybaju ti tam jednotky, tj za kazde cislo (okrem 0) pridaj px
Kód: padding: 0 25px 12px 20px
|
|
Registrovaný: 18.08.07 Prihlásený: 13.12.08 Príspevky: 86 Témy: 19 | 19 |
ok, dikes opravene, a co tie WARNINGS ?
|
|
Registrovaný: 18.08.07 Prihlásený: 13.12.08 Príspevky: 86 Témy: 19 | 19 |
Helpnite PLS co s tymi WARIGS ak to apravit
|
|
Registrovaný: 22.11.05 Prihlásený: 29.01.23 Príspevky: 712 Témy: 25 | 25 Bydlisko: SK-Martin |
máš zhodné farby písma a pozadia v uvedených položkách, a tie treba upraviť, inak niektoré položky vôbec nemusia byť viditeľné, ale ak je to nejaký zámer, tie Warnings si nevšímaj
|
|
Registrovaný: 13.11.07 Prihlásený: 06.03.08 Príspevky: 431 Témy: 28 | 28 |
pocuj, najjednoduchsie riesenie z tychto vsetkych je to moje..
JavaScript by mal byt v externom subore, cize urob presne toto:
<p><a href="http://www.netagent.cz">
<script type="text/javascript" src="pocitadlo.js"></script>
</a></p>
<noscript>
<p><a href="http://www.netagent.cz"><img src blablabla /></a></p>
</noscript>
a pocitadlo.js:
<!--
document.write blabla
//-->
|
|
Registrovaný: 18.08.07 Prihlásený: 13.12.08 Príspevky: 86 Témy: 19 | 19 |
viktorcech píše: pocuj, najjednoduchsie riesenie z tychto vsetkych je to moje..
JavaScript by mal byt v externom subore, cize urob presne toto:
<p><a href="http://www.netagent.cz"> <script type="text/javascript" src="pocitadlo.js"></script> </a></p>
<noscript> <p><a href="http://www.netagent.cz"><img src blablabla /></a></p> </noscript>
a pocitadlo.js: <!-- document.write ..... //-->
nespravil by si mi to prosim ta z toho kodu pocitadla na prvej strane? javascript neovladam,
toto napisem do indexu?:
Kód: <p><a href="http://www.netagent.cz"> <script type="text/javascript" src="pocitadlo.js"></script> </a></p>
<noscript> <p><a href="http://www.netagent.cz"><img src blablabla /></a></p> </noscript> a tuto si mam vytvorit zvlast subor s nazvom pocitadlo.js ? a co presne napisat donho ? Kód: pocitadlo.js: <!-- document.write ... //-->
_________________ "92% of teens have moved onto rap. If you are part of the 8% that still listen to real music, copy and paste this into your signature" |
|
Registrovaný: 13.11.07 Prihlásený: 06.03.08 Príspevky: 431 Témy: 28 | 28 |
Diger píše: nespravil by si mi to prosim ta z toho kodu pocitadla na prvej strane? javascript neovladam, toto napisem do indexu?: Kód: <p><a href="http://www.netagent.cz"> <script type="text/javascript" src="pocitadlo.js"></script> </a></p>
<noscript> <p><a href="http://www.netagent.cz"><img src blablabla /></a></p> </noscript> a tuto si mam vytvorit zvlast subor s nazvom pocitadlo.js ? a co presne napisat donho ? Kód: pocitadlo.js: <!-- document.write ... //-->
medzi <!-- a --> vlozis presne tu cast kodu, ktoru mas na prvej stranke, tiez v <!-- a -->. dufam, ze pomoze.
|
|
Registrovaný: 18.08.07 Prihlásený: 13.12.08 Príspevky: 86 Témy: 19 | 19 |
dikes, uz to mam, a je to validne 
_________________ "92% of teens have moved onto rap. If you are part of the 8% that still listen to real music, copy and paste this into your signature" |
|
Registrovaný: 18.08.07 Prihlásený: 13.12.08 Príspevky: 86 Témy: 19 | 19 |
a zas daco, ale to nie s pocitadlom:
target="_blank" ako mam toto zapisat v xhtml ? da sa to cez CSS ??
validator mi pise chybu:
Kód: You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).
This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.
How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.
_________________ "92% of teens have moved onto rap. If you are part of the 8% that still listen to real music, copy and paste this into your signature" |
|
Registrovaný: 27.07.07 Príspevky: 3948 Témy: 51 | 51 Bydlisko: Bratislava |
_________________ NTB: Acer Aspire 4820TG 14" | CPU: Intel Core i5 2,53 GHz | VGA: ATI Mobility Radeon HD5650 1GB | RAM: 8GB DDR3 1066 MHz | HDD: 1TB SSD WD BLUE |
|
Registrovaný: 13.11.07 Prihlásený: 06.03.08 Príspevky: 431 Témy: 28 | 28 |
Diger píše: a zas daco, ale to nie s pocitadlom: target="_blank" ako mam toto zapisat v xhtml ? da sa to cez CSS ?? validator mi pise chybu: Kód: You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).
This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.
How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.
udaj aj cast kodu presne z validatora, kde ti to pise. podla mna to nesuvisi s odkazom.
|
|
Registrovaný: 21.02.07 Prihlásený: 21.02.10 Príspevky: 3984 Témy: 96 | 96 |
prečo vám záleží na validite? podla mňa riadna blbosť ... stránka funguje? - funguje a na to nepotrebujem validátori
|
|
Registrovaný: 30.08.07 Prihlásený: 11.07.08 Príspevky: 513 Témy: 11 | 11 Bydlisko: Prešov |
2Tominator: ako tak pozeram asi si este validnu stranku neurobil 
|
|
Stránka: 1 z 1
| [ Príspevkov: 26 ] | |
|