Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [HTML][XML]XHTML - arkusz stylów XML nie działa
tomxx
post
Post #1





Grupa: Zarejestrowani
Postów: 172
Pomógł: 27
Dołączył: 5.10.2013

Ostrzeżenie: (0%)
-----


Praktycznie nie mam pojęcia o XHTML.

Wpisałem taki kod:

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <?xml-stylesheet type="text/css" href="/style.css">
  3. <!DOCTYPE html>
  4. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl" lang="pl">
  5. <element>Element</element>
  6. </body>
  7. </html>


A w style.css:

  1. element{font-weight:bold}


Tekst w pliku XHTML nie jest pogrubiony (IMG:style_emoticons/default/sad.gif) . Dlaczego?...

Ten post edytował tomxx 22.12.2013, 17:46:50
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
tomxx
post
Post #2





Grupa: Zarejestrowani
Postów: 172
Pomógł: 27
Dołączył: 5.10.2013

Ostrzeżenie: (0%)
-----


Ok, tylko w takim razie po co jest stosowana deklaracja XML i w ogóle po co jest XHTML?

Ten post edytował tomxx 22.12.2013, 18:48:37
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 11.10.2025 - 10:11