XHTML

Voorbeeld van XHTML.

XHTML (Engelse afkorting vir eXtensible HyperText Markup Language) is 'n taal wat die struktuur van dokumente spesifiseer. XHTML word veral vir die stoor en oordrag van webblaaie op die Wêreldwye Web gebruik.

HTML is voor die koms van HTML5 op die SGML-standaard gebaseer. XHTML kan dieselfde inligting as HTML enkodeer, maar is op die strenger XML-standaard gebasser. As gevolg van die lakse aard van HTML, was daar onduidelikheid en inkonsekwenthede rakende die hantering van foute in 'n HTML-dokument. XHTML was 'n poging om hierdie die hoof te bied, en om sommige van die voordele van XML-tegnologieë te ontsluit vir die web. Voorbeelde van voordele wat spruit uit die gebruik van XML sluit in:

  • Die gebruik van naamruimtes. Gevolglik kan ander XML-standaarde se inligting maklik ingebed word, bv. SVG en MathML.
  • Die gebruik van 'n gewone XML-ontleder wat beter gespesifiseerde gedrag het wanneer foute teëgekom word.
  • Die moontlikheid om ander XML-sagteware en -tegnologieë te kan gebruik, bv. vir redigering, omskakeling, validering, ens.

Met die koms van HTML5 is 'n klomp van die onduidelikhede in die ontleding van HTML-dokumente egter duideliker gespesifiseer.

Verskille

Sommige verskille word hier uitgebeeld:

In XML (en gevolglik XHTML) moet alle etikette gesluit word. Die HTML-kode vir 'n lynbreuk (line break) is:

<br>

Die regte XHTML-kode is:

<br />

Verduideliking: Die lynbreuk-etiket in die HTML-voorbeeld is nie afgesluit nie. Die reël in XHTML is dat etikette wat nie afgesluit word nie hulself moet afsluit. Hierdie etikette word leë etikette genoem. Nog 'n leë etiket is <hr /> wat 'n horisontale lyn vertoon.

Verder is XML (en gevolglik XHTML) kassensitief, d.w.s. dat die gebruik van hoofletters en kleinletters by etikette en attribute nie uitruilbaar is nie.

Sommige attribute in HTML kan afgekort word sonder dat 'n waarde gespesifiseer word. Só word 'n verstekwaarde toegeken. In HTML kan hierdie kode dui op 'n inskrywing in 'n keuselys wat die verstekkeuse is:

<option selected>

In XHTML moet die attribuutwaarde eksplisiet gespesifiseer word:

<option selected="selected">


Eksterne skakels

Spesifikasies

Read other articles:

1909 film The Gibson GoddessDirected byD. W. GriffithWritten byD. W. GriffithProduced byAmerican Mutoscope and Biograph CompanyStarringMarion LeonardCinematographyBilly BitzerDistributed byBiograph CompanyRelease date November 1, 1909 (1909-11-01) Running time6 minutesCountryUnited StatesLanguageSilent The Gibson Goddess is a 1909 short comedy film directed by D. W. Griffith.[1] It stars Marion Leonard.[2][3][4] Cast Marion Leonard - Nanette Ranf...

 

Thury Thury (Frankreich) Staat Frankreich Region Bourgogne-Franche-Comté Département (Nr.) Côte-d’Or (21) Arrondissement Beaune Kanton Arnay-le-Duc Gemeindeverband Beaune Côte et Sud Koordinaten 47° 2′ N, 4° 32′ O47.0341666666674.525Koordinaten: 47° 2′ N, 4° 32′ O Höhe 337–455 m Fläche 13,27 km² Einwohner 254 (1. Januar 2020) Bevölkerungsdichte 19 Einw./km² Postleitzahl 21340 INSEE-Code 21636 Website https://www.t...

 

Існує декілька картин з такою назвою. Ця сторінка значень містить посилання на статті про кожну із них.Якщо ви потрапили сюди за внутрішнім посиланням, будь ласка, поверніться та виправте його так, щоб воно вказувало безпосередньо на потрібну статтю.@ пошук посилань саме с

American fantasy sitcom, spin-off of Bewitched (1977–1978) This article uses bare URLs, which are uninformative and vulnerable to link rot. Please consider converting them to full citations to ensure the article remains verifiable and maintains a consistent citation style. Several templates and tools are available to assist in formatting, such as reFill (documentation) and Citation bot (documentation). (August 2022) (Learn how and when to remove this template message) TabithaGenreFantasy si...

 

この項目では、名古屋駅 - 新宮駅・紀伊勝浦駅間で運転されている特急列車について説明しています。 天王寺駅 - 白浜口駅(現在の白浜駅)・新宮駅間で運転されていた準急列車・急行列車については「くろしお (列車)」をご覧ください。 名古屋駅 - 天王寺駅・和歌山市駅間で運転されていた普通列車については「紀勢本線#夜行普通列車」をご覧ください。 この記事は

 

ميسييه 18 مسييه 18 بيانات المراقبة الكوكبة الرامي البعد 4900 سنة ضوئية (1500 فرسخ فلكي) القدر الظاهري (V) 7.5+ النوع عنقود نجمي مفتوح سرعة شعاعية -14.0 كيلومتر في الثانية[1]  العمر المقدر 32 مليون سنة تسميات أخرى Messier 18 ، M18 ، NGC 6613 ، C 1817-171 ، MWSC 2892 أنظر أيضًا: تجمع مغلق، قائمة التجمعات ...

February 24, 1781 battle fought during the American Revolutionary War This article may require cleanup to meet Wikipedia's quality standards. The specific problem is: Obsolete sentence structure and style; run-on sentences and confusing narrative; other grammar. Please help improve this article if you can. (May 2022) (Learn how and when to remove this template message) Pyle's MassacrePart of American Revolutionary WarDate24 February 1781Locationpresent-day Alamance County, North CarolinaResul...

 

Traditional Bavarian sausage This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Weisswurst – news · newspapers · books · scholar · JSTOR (March 2021) (Learn how and when to remove this template message) Traditional Weißwurst-meal, served with sweet mustard (senf) and a soft pretzel Weißwurst is brought to the...

 

Head of government of the Republic of Iraq Prime Minister of the Republic of Iraqرئيس وزراء العراق‎ (Arabic)سەرۆک وەزیرانی عێراق‎ (Kurdish)Coat of arms of IraqIncumbentMohammed Shia' Al Sudanisince 27 October 2022Council of Ministers of the Republic of IraqExecutive branch of theFederal Government of the Republic of IraqStyleHis ExcellencyTypeHead of governmentResidenceRepublican Palace, BaghdadSeatAl Zaqura BuildingAppointerPresiden...

جوكو ويدودو (بالإندونيسية: Joko Widodo)‏  معلومات شخصية اسم الولادة (بالإندونيسية: Mulyono)‏  الميلاد 21 يونيو 1961 (العمر 62 سنة)سوراكارتا،  إندونيسيا مواطنة إندونيسيا  الديانة الإِسْلَام[1]  مناصب رئيس إندونيسيا[2] (7 )   تولى المنصب20 أكتوبر 2014  سوسيلو بامبان...

 

German sports shooter Jessica MagerJessica Mager in 2012Personal informationBorn (1988-06-01) 1 June 1988 (age 35)Solingen, West GermanySportSportSports shooting Jessica Mager (born 1 June 1988) is a German sports shooter. She competed in the Women's 10 metre air rifle event at the 2012 Summer Olympics.[1][2] References ^ London 2012: Jessica Mager. London 2012. Archived from the original on 30 July 2012. Retrieved 29 July 2012. ^ Sports Reference: Jessica Mager. Sports R...

 

Visual indicator of the amplitude of an electronic signal EM34 tuning eye EM84 tuning indicator A magic eye tube or tuning indicator, in technical literature called an electron-ray indicator tube,[1] is a vacuum tube which gives a visual indication of the amplitude of an electronic signal, such as an audio output, radio-frequency signal strength, or other functions.[1] The magic eye (also called a cat's eye, or tuning eye in North America) is a specific type of such a tube wit...

Ludwig Ingwer Nommensen Misi Kristen untuk orang Batak atau Batak Mission, adalah salah satu gerakan yang mengupayakan penginjilan di Tanah Batak.[1] Nommensen adalah seorang penginjil yang berprestasi dalam penginjilan di Batak.[1] Atas usaha penginjil lainnya, agama Kristen mulai tersebar luas di Tanah Batak.[1] Salah satu sarana yang menunjang usaha penginjilan yang diberdayakan oleh para misionaris yang menginjili di Tanah Batak adalah dengan menggunakan jalur pend...

 

Westernized Japanese women during the Interwar period For other uses, see Modern Girl. Modern girls wearing Beach Pajama style clothing walking down Ginza in 1928 Modern girls (モダンガール, modan gāru) (also shortened to moga) were Japanese women who followed Westernized fashions and lifestyles in the period after World War I. Moga were Japan's equivalent of America's flappers, Germany's neue Frauen, France's garçonnes, or China's modeng xiaojie (摩登小姐).[1] By viewing ...

 

Combined military forces of Bolivia This article was imported from the CIA's World Factbook. Please help rewrite this article. Armed Forces of BoliviaFuerzas Armadas de BoliviaMottoSubordinacion y Constancia, ¡Viva Bolivia! (Subordination and Steadfastness. Long Live Bolivia!)Founded7 August 1826; 197 years ago (1826-08-07)Service branches Bolivian Army Bolivian Naval Force Bolivian Air ForceLeadershipCaptain General of the Armed ForcesLuis Arce (President of...

For other people named al-Hajjaj, see Hajjaj. Umayyad governor and viceroy (c.661-714) Al-Hajjaj ibn YusufSeal of al-Hajjaj ibn YusufUmayyad governor of the HejazIn office692–694MonarchAbd al-Malik (r. 685–705)Preceded byTariq ibn AmrSucceeded byYahya ibn al-HakamUmayyad governor of IraqIn office694–714MonarchsAbd al-Malik (r. 685–705) Al-Walid I (r. 705–715)Preceded byBishr ibn MarwanSucceeded byYazid ibn Abi Kabsha al-Saksaki Personal detailsBornc. 661 CETa...

 

Radio station in Salt Lake City, UtahKTBN-SWSalt Lake City, UtahBroadcast areaNorth AmericaBrandingSuperPower KTBNProgrammingFormatDefunct (was religious radio)OwnershipOwnerTrinity Broadcasting NetworkHistoryFirst air dateDecember 26, 1987 (1987-12-26)Last air dateMarch 30, 2008 (15 years ago) (2008-03-30)Call sign meaningTrinity Broadcasting Network (the station's owner)Technical informationPower100,000 wattsLinksWebsitehttp://www.tbn.orgKTBN (formerly known as ...

 

Chinese rebellion against Yuan Shikai (1913–1914) Bai Lang RebellionDate1911–1914LocationChinaResult Defeat of Bai Lang and his bandit armyBelligerents  Republic of ChinaTibetSelf-defense forces:Future-Safeguarding Society[1]Jahriyya menhuanXidaotang Bai Lang's army Allies: Qing dynasty loyalistsRoyalist Party[2]Big Swords Society's Seas and Lakes Society[1] Kuomintang (from 1913)[3]Other bandit groups[4]GelaohuiCommanders and leaders Yuan Shik...

Canadian administrative district (1882–1905) District of SaskatchewanDistrict of North-West Territories1882–1905A 1900 map showing the District of Saskatchewan at its greatest extent.HistoryHistory • Established 1882• Disestablished 1905 Today part ofAlberta, Manitoba, Saskatchewan The District of Saskatchewan was a regional administrative district of Canada's North-West Territories. It was formed in 1882 was later enlarged then abolished with the creation of the provin...

 

Вареш хорв. і босн. Opština Varešсерб. Општина Вареш —  Громада  — Країна  Боснія і Герцеговина Автономна одиниця Зеніцько-Добойський кантон Адміністративний центр Вареш Уряд  - Голова громади Авдія Ковачевіч Площа  - Повна 390,1 км² Населення (2001) &#...

 

Strategi Solo vs Squad di Free Fire: Cara Menang Mudah!