XHTML is a markup language intended to replace HTML as the standard for web pages, and it is a language that adapts HTML to XML.
XHTML (Extensible HyperText Markup Language)
Since the first version of XHTML is just the XML version of HTML, it has the same functionality by default but is stricter and more specific than XML. Its purpose is to create a better presentation of information in web standards.
The W3C developed the XHTML standard in parallel with its activity with HTML. The first version (1.0) was released on January 26, 2000. After the 1.1 version was published as a draft, the draft of version 2.0 was also published. Then version 2.0 was designed to have more features and changes than previous versions.
XHTML, a powerful language for creating web content, may not offer full design support for some small devices. Devices with low resources often may not meet the full feature set of HTML.
A fully equipped computer is required to use and access the WWW service. This can prevent a large portion of the population from accessing online information and services on user devices.
Such problems can be avoided thanks to many identical subsets defined by subgrouping HTML. However, it will be difficult to develop applications for various web clients without a common feature set.
XHTML Basic is used to create content that is shared across communities and is often simple. New document types created by the community can be created via extensions. Therefore, the XHTML Basic document can be served to all web clients.
Since information devices are designed for specific uses, they only perform the intended tasks. These information devices may be cell phones, televisions, PDAs, vending machines, pagers, a navigation system, a mobile game machine, a digital book reader, or a smart watch.
Structures available for information devices include Compact HTML CHTML, Wireless WML Markup Language, and HTML 4.0 Guidelines for Mobile Access.
Common features of these document types are basic text, hyperlinks and links, forms, tables, images, and meta information. In short, these features led to the emergence of XHTML Basic design.
Since many people are familiar with these properties that HTML generates, they can more easily understand the features that can be combined with modules from other languages than the methods described in XHTMLMOD. XHTML Basic can be extended with modules from the HTML4 system or with additional modules from XHTML Modularization.
XHTML Basic is not intended to limit the usability of a language, but HTML4 is generally developed for desktop clients, so it can be incompatible with most devices. It provides interoperability and scalability on the Internet because XHTML has the same subsets and HTML features.
The main difference between XHTML and HTML is that subsets can be created with XHTML so that content creators can create richer and more user-interactive content.
By default, the style element is not supported, but this problem can be fixed with external style sheets. Link element can be used to add external style sheets to the page. In addition, style information can be linked to the created structure with div and span elements.
There is a big difference between the structure of a website and its presentation to the user. If a user agent does not support the download of style files, a visitor-friendly presentation cannot be made. In this case, a presentation can be made according to the visitor’s device using the media element.
Due to the capacity of small information devices or hardware power, Script and NoScript elements may not be supported on these devices. Therefore, the appropriate design must be made in order to display the relevant content on such devices.
Some web clients may not display some elements such as font types arranged in an appropriate format in web content, so style files can be prepared in a format suitable for the user device and a presentation can be made compatible with the devices with these problems.
Although XHTML is a simple language and can add text, links, or interactive elements to webpages, it is designed as a computer language.
Content developers can add extensions to this language to provide more flexibility. This creates a common language supported by various user agent types and ensures interoperability.
As new technologies are discovered in web communication, the HTML structure and web browsers do not need to be installed next support update. Tags or attributes can be defined to add and use new features.
Thanks to its portability feature, viewing, and presentation of web pages on old or new devices have become more compatible. With the development of this compatibility, the use of web content in mobile devices has increased more.