» Poradna » Programy

Html hlavicka

 |   | 

Ahoj, mam na strance nasledujici hlavicku:<?xml version="1.0" encoding="iso-8859-2"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-stri... "><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-2" /><link rel="stylesheet" media="screen" type="text/css" href="img/styles_main.css" /><title>webik</title><meta name="author" content="Petr" /><meta http-equiv="content-language" content="cs" /><meta name="description" content="super web" /></head>Kdyz to dam zvalidovat, tak mi to vyhodi tyto chyby:1. ErrorLine 5 column 73: character data is not allowed here....e" content="text/html; charset=ISO-8859-2" />You have used character data somewhere it is not permitted to appear. Mistakes that can cause this error include putting text directly in the body of the document without wrapping it in a container element (such as a <p>aragraph</p>) or forgetting to quote an attribute value (where characters such as "%" and "/" are common, but cannot appear without surrounding quotes).2. ErrorLine 8 column 36: character data is not allowed here.<meta name="author" content="Petr" />v obou dvou pripadech je podtrzene ">". Muzete mi prosim nekdo poradit jak to udelat tak, aby stranka byla validni? Predem Vam dekuji za jakoukoli odpoved

Mohlo by vás také zajímat

Odpovědi na otázku

 |   | 

Všechna lomítka umístěná před ostrou závorkou > vymaž.Mělo by to vypadat takhle:<head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-2"><link rel="stylesheet" media="screen" type="text/css" href="img/styles_main.css"><title>webik</title><meta name="author" content="Petr"><meta http-equiv="content-language" content="cs"><meta name="description" content="super web"></head>

Souhlasím  |  Nesouhlasím  |  Odpovědět

Související témata: Meta, W3C, Author, Here, Characters