---
title: "Doctype"
type: "forum-thread"
url: "https://www.webforum.nu/amne/xml/58418-doctype"
topic: "XML"
topic_url: "https://www.webforum.nu/amne/xml"
author: "andreas_lindh"
published: "2002-11-08T11:17:32.000Z"
updated: "2002-11-08T11:22:02.000Z"
replies: 1
views: 414
page: 1
pages: 1
language: "sv-SE"
site: "webForum — webforum.nu"
rights: "Upphovsrätten till varje inlägg tillhör dess författare."
attribution: "Citera som: webForum, https://www.webforum.nu/amne/xml/58418-doctype"
---

# Doctype

## #1 — andreas_lindh, 2002-11-08T11:17Z

Hur ska doctypen se ut på en xhtml sida.

Har använt den här

```
<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en"
    "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">
```

Men validatorn säger att det är fel.

Permalänk: https://www.webforum.nu/p/58418

## #2 — Dino, 2002-11-08T11:22Z

XHTML 1.0 Strict

```
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
```

 <http://www.w3.org/TR/xhtml1/dtds.html#a_dtd_XHTML-1.0-Strict>

XHTML 1.0 Transitional

```
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
```

 <http://www.w3.org/TR/xhtml1/dtds.html#a_dtd_XHTML-1.0-Transitional>

XHTML 1.0 Frameset

```
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
```

 <http://www.w3.org/TR/xhtml1/dtds.html#a_dtd_XHTML-1.0-Frameset>

Permalänk: https://www.webforum.nu/p/847245

---

Tråden på webben: https://www.webforum.nu/amne/xml/58418-doctype
