Our server costs ~$56 per month to run. Please consider donating or becoming a Patron to help keep the site running. Help us gain new members by following us on Twitter and liking our page on Facebook!
Current time: January 23, 2025, 9:51 pm

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Malware and Threads
#33
RE: Malware and Threads
No, XHTML is actually more accurately defined as both XML and HTML. It uses XML structure, but HTML elements. In XML, you can have any tag as a root node; in XHTML, you have to use <html>, for instance.

You can create new elements in XHTML, but it isn't recommended, and is not really supported in browsers unless you supply your own definitions for those elements. I know a lot about XHTML; I've coded in it for years. It loads faster because browsers can use XML parsers rather than HTML parsers, which require more checks, but it's no different in terms of what you can do, and these days the speed is probably not even noticeable by the average user anyway.

Going by the first line, one would assume it is just XML, sure. However, if you look down a few lines more, you'll find that it is obviously HTML as well:

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://gmpg.org/xfn/11">
<script type="text/javascript" src="/noframes.js" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

The DOCTYPE is "html", and more specifically "XHTML Transitional". The first tag (the root tag) is <html>. The next tag opens up a HTML header (<head>) which contains <script> tags (HTML specific) and <meta> tags (HTML specific). Indeed, the <meta> tag even lists the "Content-Type" as "text/html".

XHTML is a type of HTML as much as it is a type of XML. Effectively, it is the HTML language in an XML format.
Reply



Messages In This Thread
Malware and Threads - by KichigaiNeko - December 18, 2012 at 1:42 am
RE: Malware and Threads - by Annik - December 18, 2012 at 2:12 am
RE: Malware and Threads - by KichigaiNeko - December 18, 2012 at 2:15 am
RE: Malware and Threads - by Annik - December 18, 2012 at 2:16 am
RE: Malware and Threads - by KichigaiNeko - December 18, 2012 at 2:30 am
RE: Malware and Threads - by Aractus - December 18, 2012 at 5:08 am
RE: Malware and Threads - by downbeatplumb - December 18, 2012 at 5:10 am
RE: Malware and Threads - by Annik - December 18, 2012 at 5:20 am
RE: Malware and Threads - by LastPoet - December 18, 2012 at 6:11 am
RE: Malware and Threads - by KichigaiNeko - December 18, 2012 at 6:14 am
RE: Malware and Threads - by Tiberius - December 18, 2012 at 6:30 am
RE: Malware and Threads - by KichigaiNeko - December 18, 2012 at 6:36 am
RE: Malware and Threads - by Tiberius - December 18, 2012 at 6:41 am
RE: Malware and Threads - by KichigaiNeko - December 18, 2012 at 7:17 am
RE: Malware and Threads - by LastPoet - December 18, 2012 at 6:34 am
RE: Malware and Threads - by Aractus - December 18, 2012 at 6:44 am
RE: Malware and Threads - by Tiberius - December 18, 2012 at 6:50 am
RE: Malware and Threads - by LastPoet - December 18, 2012 at 6:59 am
RE: Malware and Threads - by Tiberius - December 18, 2012 at 7:15 am
RE: Malware and Threads - by LastPoet - December 18, 2012 at 7:20 am
RE: Malware and Threads - by Aractus - December 18, 2012 at 7:44 am
RE: Malware and Threads - by LastPoet - December 18, 2012 at 7:57 am
RE: Malware and Threads - by Aractus - December 18, 2012 at 8:17 am
RE: Malware and Threads - by LastPoet - December 18, 2012 at 8:18 am
RE: Malware and Threads - by Tiberius - December 18, 2012 at 8:25 am
RE: Malware and Threads - by Aractus - December 18, 2012 at 9:09 am
RE: Malware and Threads - by Tiberius - December 18, 2012 at 9:22 am
RE: Malware and Threads - by LastPoet - December 18, 2012 at 9:15 am
RE: Malware and Threads - by Aractus - December 18, 2012 at 9:34 am
RE: Malware and Threads - by LastPoet - December 18, 2012 at 9:38 am
RE: Malware and Threads - by KichigaiNeko - December 18, 2012 at 9:44 am
RE: Malware and Threads - by LastPoet - December 18, 2012 at 9:48 am
RE: Malware and Threads - by KichigaiNeko - December 18, 2012 at 9:51 am
RE: Malware and Threads - by LastPoet - December 18, 2012 at 10:03 am
RE: Malware and Threads - by LastPoet - December 18, 2012 at 9:45 am
RE: Malware and Threads - by Tiberius - December 18, 2012 at 9:46 am
RE: Malware and Threads - by Aractus - December 18, 2012 at 10:05 am
RE: Malware and Threads - by LastPoet - December 18, 2012 at 10:17 am
RE: Malware and Threads - by Tiberius - December 18, 2012 at 10:31 am
RE: Malware and Threads - by Aractus - December 18, 2012 at 10:44 am
RE: Malware and Threads - by LastPoet - December 18, 2012 at 10:53 am
RE: Malware and Threads - by Tiberius - December 18, 2012 at 10:53 am
RE: Malware and Threads - by Aractus - December 18, 2012 at 10:58 am
RE: Malware and Threads - by Tiberius - December 18, 2012 at 11:02 am
RE: Malware and Threads - by Aractus - December 19, 2012 at 3:26 am
RE: Malware and Threads - by Waratah - December 19, 2012 at 5:50 am
RE: Malware and Threads - by thesummerqueen - December 18, 2012 at 4:00 pm
RE: Malware and Threads - by Minimalist - December 18, 2012 at 4:27 pm
RE: Malware and Threads - by Jaysyn - December 18, 2012 at 8:23 pm
RE: Malware and Threads - by Forsaken - December 18, 2012 at 8:44 pm
RE: Malware and Threads - by Tiberius - December 18, 2012 at 9:20 pm
RE: Malware and Threads - by Forsaken - December 19, 2012 at 6:56 pm
RE: Malware and Threads - by Tiberius - December 19, 2012 at 8:34 pm
RE: Malware and Threads - by Forsaken - December 20, 2012 at 4:18 am
RE: Malware and Threads - by Angrboda - December 19, 2012 at 11:12 pm

Possibly Related Threads...
Thread Author Replies Views Last Post
  Suggestion: Install Soma Tablet Depositories On All Threads Violet 17 3346 May 3, 2020 at 1:14 pm
Last Post: Rhizomorph13
Information [Serious] Why can't I subscribe to threads? CaenLeranzo 6 1877 February 25, 2020 at 4:53 pm
Last Post: BrianSoddingBoru4
  Civil/ safe option for threads. Mystic 2 1224 November 19, 2018 at 10:25 pm
Last Post: SteelCurtain
  I know I'm not supposed to revive really old threads, so... Martian Mermaid 23 5617 November 22, 2017 at 9:45 am
Last Post: I_am_not_mafia
  Alternative to "click bait" rule: block threads robvalue 40 7580 February 6, 2017 at 1:38 am
Last Post: rexbeccarox
  Mafia game threads showing in "Today's Posts" lists Ravenshire 18 7375 February 5, 2017 at 4:53 pm
Last Post: Ravenshire
  Missing drafts (threads, not PMs) Aroura 13 2454 December 2, 2016 at 9:06 pm
Last Post: Aroura
  Necroing of threads by newbies Joods 11 2115 July 4, 2016 at 7:26 pm
Last Post: Whateverist
  Suggestion/question: breadcrumb nav at the bottom of threads? KevinM1 17 3635 November 10, 2015 at 4:48 pm
Last Post: KevinM1
  Starting Threads with Links rexbeccarox 17 4194 October 6, 2015 at 5:16 pm
Last Post: Edwardo Piet



Users browsing this thread: 14 Guest(s)