What Is XHTML?
XHTML (which stands for “eXtensible HyperText Markup Language”) is a markup language that combines some properties of XML with HTML features: an XHTML file is a HTML page written in accordance with standard XML.
The language provides a more restrictive use HTML tags in terms of validity and in terms of syntax to describe only the logical structure of the page and the layout and graphics rendering are required by cascading style sheets (Cascading Style Sheets, CSS).
XHTML is officially born January 26, 2000 as the standard of the World Wide Web Consortium (W3C), and can technically be called a reformulation of HTML 4.01 XML 1.0, is a sort of “bridge” between these two languages.
XHTML is the direct successor and the latest version of HTML. The need for a language with a syntax better defined than that of HTML began to be felt when it became the custom to send web pages to new devices come onto the market other than traditional computers, such as small portable equipment, with of hardware and software is not enough to interpret HTML. Should be borne in mind that most generic is the syntax of a programming language, the more difficult it is to make devices that can interpret it correctly. Specific Document Type Definition (DTD) defines the set of rules by which a given document can be rendered (i.e., accurately represented) XHTML.
All of today’s most popular browsers are able to correctly render XHTML documents, but older browsers are usually able to interpret the XHTML document, since this language is largely a subset of HTML and its syntax rules are backward compatible. The same applies in reverse: almost all browsers are compatible with the XHTML correctly render HTML documents.
To fully exploit the potential of XHTML you must use it in combination with stylesheets in order to write code for Web pages where the presentation is separate from the data structure.
XHTML Transitional (XHTML transitional, see below) differs from HTML primarily because it is more compatible with the specification of XML and XHTML narrow (XHTML strict) for greater tolerance towards deprecated definitions.
The most important difference is that all tags must be well structured, that obeys a set of rules to ensure their consistency with each other, and must be completed, including empty ones (such as img and br). To perform the termination implicitly you can add a “/” closing the opening tag (e.g., <img /> and <br />). Other types of abbreviation are not allowed (e.g., <option selected>).
The syntax also provides that the tags should always be written in lowercase letters, in contrast to the usual convention prevailed since version 2.0 of HTML, when most programmers preferred capitalization.
In XHTML all attributes (including digital ones) must be written in quotes, what is optional in SGML and HTML, in which quotes can be omitted if the content is an alphanumeric string or includes some other special characters reserved. Wikipedia pages are currently written using the version of XHTML 1.0 Transitional.
Versions of XHTML
As mentioned above, XHTML is a reformulation of HTML as XML. So, as one would expect, there are three different DTDs, corresponding to DTD HTML 4.01
- XHTML 1.0 Transitional: created to facilitate the migration from the old version 3.2 or HTML for use in conjunction with links and frames in-line. Accept as valid HTML tags that have been defined as deprecated in XHTML and is tolerant of non-compliance to certain syntax.
- XHTML 1.0 Strict: compared to version Transitional does not accept HTML tags defined deprecated, is not tolerant to non-compliance syntactic and also provides tighter controls than the value of certain attributes of the tag (for example, the id attribute must have unique values within the same document).
- XHTML 1.0 Frameset: Born for compatibility reasons, to divide the browser window that appears in different frames (sub-windows), a practice once widespread but now deprecated by the World Wide Web Consortium.
The latest version of XHTML is XHTML 1.1, which is a reformulation of the ‘XHTML Strict, so it has a single DTD. Not accept the tags and attributes more critical than the previous version (like the structure frameset). This version supports instead the so-called markup tags “Ruby”, which displays the character set of oriental languages.
There are other versions of XHTML, designed for mobile devices:
- XHTML Basic: a special, simplified version of XHTML for devices where resources are not capable of supporting the full set of commands and XHTML tags, such as mobile phones. It is to be regarded as the counterpart of the existing C-HTML and WML.
- XHTML Mobile Profile: based on the version of XHTML Basic, developed by Nokia to add to ‘XHTML Basic specific functionality of telephone terminals.
The development of the specific version of XHTML 2 has slowed down due to huge compatibility issues, since this would have been in effect almost completely new markup rather than an evolution of XHTML 1.1. In parallel, has regained momentum to develop a new set of specifications for HTML, HTML 5, which incorporates some of the definitions and approaches designed for XHTML 2 but adjusted to ensure compatible operation with existing browser. The intentions of the W3C, the two specifications were established to co-exist.
Validation of XHTML documents
An XHTML document that meets the specifications defined valid or well formed. Theoretically, all browsers should comply with W3C standards, and thus be able to make the files on any platform. Validation (i.e., syntax checking) XHTML documents not guarantee 100% compatibility with all browsers, mainly due to the limitation of the latter, but it is strongly recommended. A tool to check the validity of documents are available from the W3C Markup Validation Service.
As mentioned above, because a document can be validated, must contain an element called DTD (Document Type Definition or Document Type Declaration), to be placed preferably at the beginning. The most common types of DTDs, and the declarative syntax, are:
XHTML 1.0 Strict
DOCTYPE html PUBLIC “- / / W3C / / DTD XHTML 1.0 Strict / / EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>
XHTML 1.0 Transitional
DOCTYPE html PUBLIC “- / / W3C / / DTD XHTML 1.0 Transitional / / EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
XHTML 1.0 Frameset
DOCTYPE html PUBLIC “- / / W3C / / DTD XHTML 1.0 Frameset / / EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd”>
XHTML 1.1
DOCTYPE html PUBLIC “- / / W3C / / DTD XHTML 1.1 / / EN” “http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd”>
The type of encoding used (character encoding) must always be specified at the beginning. This allows the validator, such as the one before mentioned, made available by the W3C, to check if the document is the industry standard. The validation process identifies and provides a description of errors found (error log).
Some of the most common mistakes that developers commit writing XHTML code are:
- Items without terminator (as described above XHTML HTML is much more restrictive in this respect).
- Failure to display an alternative text to an image (for use by the alt attribute, so as to allow compatibility with devices and the display does not support images).
- Insert text directly in the document body.
- Nesting blocks of code within inline elements.
- Forget the quotation marks to delimit the attributes.
- Nesting elements so invalid.
- Use improperly various entities (e.g., & instead of &).
- Use uppercase for tag names and / or attributes.
This is not, of course, an exhaustive list of errors, but only an indication of what programmers commit more frequently. When a page is validated using the W3C Validation Service, the validator returns a small icon that can be inserted in the document to prove compliance to the standard. The W3C provides the same service for the CSS and HTML documents.
Study: From Wikipedia, the free encyclopedia. The text is available under the Creative Commons.
HyperText Markup Language | HTMLWhat Is HyperText Markup Language?The HyperText Markup Language (HTML) is a language used to describe the structure of hypertext documents available on the World Wide Web that is on the Internet. All websites are written in HTML code that is read and processed by the browser, which generates the page that is displayed on the computer screen. HTML is not a programming language but a markup language, which describes the content, textual or otherwise, of a web page. Point HTML (.html) or point HTM (.htm) is also the common extension of HTML documents. HTML is a language whose syntax is public domain established by the World Wide Web Consortium (W3C), which is based on another language with more general purposes, the SGML. It was developed in the late eighties by Tim Berners-Lee at CERN in Geneva. By 1994 he had a strong diffusion, following the first commercial use of the Web. Over the years, following the development of Internet, HTML has undergone many revisions, extensions and improvements, which were listed according to the classic numbering used to describe the versions of the software. Currently the latest version available is version 4.01, released on 24 December 1999. After a period of suspension, in which the W3C has focused primarily on the definitions of XHTML (application of rules to HTML and XML-style syntax) and stylesheets (Cascading Style Sheet, CSS) in 2007 and repeat the activity specification with the definition, still in progress, HTML 5 is currently in draft status (draft). An additional and important feature of HTML is that it was designed to define the logical content and not the final appearance of the document. Devices that can access an HTML document are varied and not always equipped with powerful graphics capabilities. Precisely for this reason the developers have opted for the HTML language that describes the logical point of view, rather than graphical content of documents. This means that there is no guarantee that the same document to appear in the same way on two devices. While this has imposed in the past severely limited by the developers of Web pages, has secured the second highest Internet penetration and avoid it becoming a medium for elites. Currently HTML documents are able to incorporate many technologies, which offer the possibility to add controls to the hypertext document on the yield more sophisticated graphics, dynamic interactions with the user, interactive animation and multimedia content. These languages are CSS, JavaScript or Java, and are used chiefly for multimedia applications, vector animation or streaming audio or video. Nowadays many designers delegate writing the HTML code to specific applications, such as the so-called WYSIWYG editor that allows the designer to handle the graphic end of the page and the actual code is generated automatically. The developers prefer instead to use the HTML code directly, so you have more control over the final result and the cleaning of the written code, which the WYSIWYG editor today despite more and more advanced they can not always guarantee. Access via the InternetHTML documents are typically stored on hard drives (server) machine that was connected to the Internet. On these machines you have installed a software called Web server, which is responsible to produce and send documents to the browsers of users who request the transfer using the HTTP protocol. Often, the HTML document is generated wholly or partly by a resident executable code on the Internet server capable of interacting with other applications on the server itself, such as a database, and then send the browser the end result, creating the so-called dynamic pages with which a user can perform advanced interactive operations (for example, filter the articles in an online catalog). Is the case of documents written in languages such as ASP, PHP or Perl. Syntactical elements Each hypertext document written in HTML must be contained in a file whose extension is typically.htm or.html. The main component of the syntax of this language is the element, understood as a basic structure to which is delegated the function to format the data or information to indicate to the browser. Each element is enclosed within these markings, tags, consisting of a sequence of characters enclosed between two angle brackets, i.e., the major and minor marks (Example: <br>; tag this example serves to indicate a carriage return). When the tag should be applied to a section of text or code, the scope should be defined between an opening tag and closing (closing explicit), which coincides with the start tag preceded by a slash (/) after the opening angle bracket (Example: <b> text text text </ b>. In this case the text between these two tags will appear bold by the browser). Some tags have an application on time, such as the tag <img> used to insert an image at a given point on the page, and as such do not require a closing tag, in which case there is talk of closing tag implied. In XHTML, however, the Implicit closing is forbidden and all tags must always be explicitly closed by a closing tag or in the case of the tags on time, using the character ‘/’ at the end of the tag itself (for example <br /> ). For these tags, browsers are able to accept both modes, for compatibility reasons. Structure of an HTML documentAn HTML document begins by stating the definition of the type of document (Document Type Definition or DTD), which tells the browser the URL of the HTML specification used for the document, indicating thus implicitly as elements, attributes and entities can use and what version of HTML is being referenced. Indeed, this information serves to the browser to identify the rules of interpretation and display appropriate for the specific document. This definition should therefore precede all the tags on the document itself. After the DTD, the HTML document presents a nested tree structure, consisting of sections bounded by descriptive tags in them that contain even smaller subsections, again bounded by tags. The outer structure is the one that defines the entire document, except for the DTD, and is between <html> and </ html>. Within <html> the standard has always included the definition of two distinct sections and arranged in orderly sequence:
Beneath this general division, the standard does not provide specific requirements regarding the order and placement of additional subsections within the header or body, other than an indication of respect for properly nested (sub-sections not need to overlap, ie each sub-section shall be closed before starting the next subsection), leaving complete freedom to the developer or the designer regarding the structure and organization later. Tags – Tag header The tags used in the section headers are typically of a different type from those used in the body section, being intended for different purposes. The tags used in the section headers are not normally displayed by the browser but are used as control information and services:
Tag of the body Within the body section, which contains the viewable part of the document, provided you use specific tags for formatting content accessible to the end user, i.e., for the control of:
Among those listed above, the tag <a> is playing a key role because it describes a link (or links) to another hypertext document and allows, with the click of a mouse or keyboard operation, abandoning the page or site you are viewing and uploading one indicated by the link, thus realizing the navigation function typical of Internet use. Study: From Wikipedia, the free encyclopedia. The text is available under the Creative Commons. Link to this post!
~ No related posts.
Leave a ReplyClick here to cancel reply.
Apache HTTP ServerMarch 2nd, 2010Apache HTTP ServerApache HTTP Server, Apache is the name given to the most common modular platform Web server (also open source working group that created, developed and updated the server software), in capable of operating from UNIX operating systems-Linux and Microsoft. Apache is a software that performs the functions of transmission of information, and internetwork connection, has the advantage of also monitoring functions for security such as that in the proxy. The Apache project began in 1995. At that time, the Web server was the most widespread public HTTP daemon developed by Rob McCool at NCSA (National Center for Supercomputing Applications), University of Illinois. However, since from 1994 the development of this server had stopped (because the author had left NCSA) a group of webmasters had begun to develop patches independently. It was created a mailing list and toward the end of February 1995 was constituted the first working group dell’Apache Group. Eight people (Brian Behlendorf, Roy T. Fielding, Rob Hartill, David Robinson, Cliff Skolnick, Randy Terbush, Robert S. Thau, Andrew Wilson) took as its starting point the version 1.3 of the NCSA HTTP daemon and added a series of patches and corrections. The first public release of Apache, the 0.6.2, was released in April 1995. The name Apache, according to legend, derives from the fact that initially the server was simply a collection of patches to be applied to the NCSA server. Named friendly “to patchy server” would be born Apache. In fact, the name was chosen in honor of the Apache tribe of Native Americans, as reported frequently asked questions on the official website of the project. A new server architecture was built shortly after the version 0.8.8 that was given the code name of Shambala. Version 1.0 was published on 1 December 1995. Within a year, its circulation had already exceeded that of the NCSA server from which it was derived. Version 2.0 of Apache was released during the ApacheCon conference, held in March 2000 in Orlando, Florida. The great success of dissemination of this software is the clearest indication of the quality and reliability of this product. Operationally, it consists of a daemon on UNIX or by a service in a Microsoft environment, which according to the settings in the httpd.conf configuration file allows access to one or more sites, to handle various security features and could accommodate several extensions to active pages (or dynamic), such as PHP or Jakarta / Tomcat. Apache ArchitectureThe Web Server Apache has a modular architecture, so that any request from the client’s specific functions are performed by each module of which is composed, as independent units. Each module deals with a feature, and control is managed by the core. Modules:
The core divides the application with various modules in a sequential manner, using the output of a module as access parameters for the other, thus creating the illusion of a horizontal communication between modules (Pipeline software). Over the course of the core there is a further round of polling done by a Demon (computer) that continuously interrogates the lines from which they can reach logical request messages. Configuring apacheHttpd.conf Server administrators can use the httpd.conf file, which on Unix systems is usually put under / etc / httpd / conf, and on Windows systems is located in the conf subdirectory of the directory to install apache. This file provides all the freedom offered by the server, then add modules, extensions, new mime-type and more. For example if you wanted to add a module should use this syntax: Configuration file .Htaccess .Htaccess (dot-HTaccess) file allows further customization of your web server to the directory level. It is used especially in shared hosting, to change the standard settings provided by the server itself. Study: From Wikipedia, the free encyclopedia. The text is available under the Creative Commons Link to this post! PleskMarch 2nd, 2010Plesk Software PackagePlesk is a software package in the form of a web application that is provided by the company Parallels. Plesk is a server administrator to easily to set up websites, e-mail accounts and DNS. The management is done through a web interface. Other services managed by Plesk include MySQL and PostgreSQL servers, Apache Tomcat Java server, ColdFusion Server, and Counter-Strike and Battlefield 1942 game servers. The company behind Plesk, SWsoft, operates principally from Siberia in eastern Russia where the programming takes place, while the management operates from Chantilly, Virginia. The Plesk software package was originally developed by the German company Confixx. Later an SWsoft Plesk Confixx product because it was acquired by SWsoft. Nowadays Parallels Plesk under the flag by the merger of SWsoft and Parallels. Parallels fell for several years under the SWsoft with such acquisition and holding SW Soft knowledge has brought about virtualization. Plesk – OperationsLinux Plesk Linux uses scripts to the server to manage, despite the open nature of LAMP scripts that are closed source. It logs into a web-based panel that allows users and administrators through an easy way to manage all features of web hosting. The scripts provide the necessary changes in the configuration files of Linux, the Web service (Apache) is restarted with an interval of several minutes so that changes are made. Plesk Installation: Linux Plesk for Linux is installed by an installation script. This installation script will then prepare the entire system to a LAMP server to start so will the installation files from SWsoft, a server and install. After the installation is a registration key needed, based on the number of sites on the server administrator wants to run. Then the administrator can start adding clients and sites. User Levels In the web hosting world there is a difference between users on one system. There are one or more administrators responsible for server and / or its services. It is also appropriate that the end user can change only its own files and nothing to do with another end user. Therefore makes use of some of Plesk usage levels:
Back-up Operation Plesk provides a comprehensive backup solution in shell for administrators. It is possible to complete a Plesk installation to migrate to another server without much work. For daily backup, this backup solution is ideal. Additional Programs (Plugin) Plesk offers additional outside its basic software, each specialized software: Plesk AntiVirus by Dr.WEB This tool allows the administrator to implement a virus scanner on the system, allowing bugs to the customer no longer can. Plesk Expand Plesk Expand Plesk allows multiple systems to be linked. It is possible to link different operating systems. It is possible to use a Plesk control panel Plesk coupled systems to drive. Plesk Professional Website Editor This tool provides a GUI to easily create websites using the WYSIWYG principle. It is an easy way for websites to create, change and update. Language Packs These programs make it possible to use the text in the Plesk interface to change the language of your choice. It is also possible for several users through another language. 10/25/50 Server Master This option allows the administrator to a specific Plesk server to act as master server. Servers can head a network of Plesk servers. It is possible to use a master server status information 10, 25 or 50 different Plesk slave servers to view. PostgreSQL This plugin allows to use PostgreSQL in the Plesk control panel. Apache Tomcat This plugin allows Apache Tomcat in the Plesk control panel. Ticket System This system was created to communicate with customers at various levels of the system. Application-pack / Mambo CMS The application pack is a program that allows users a set of open source programs easily with a few mouse clicks to install. The application pack are the following programs:
Cold Fusion This plugin will allow ColdFusion to use plesk. Spam Assassin This plugin will allow for the e-mail clients to protect against spam. Game Server The Counter-Strike-server-plugin allows users to set up the game and change without administrator intervention. This plugin only works if the server running the Linux operating system. Study: From Wikipedia, the free encyclopedia. The text is available under the Creative Commons. Link to this post! Windows Server 2008 R2March 2nd, 2010Windows Server 2008 R2Windows Server 2008 R2 is the operating system successor to Windows Server 2008. It is like “the server version of Windows 7, which it shares the kernel, Windows NT 6.1. Just as Windows 7, its availability is announced for October 22, 2009, and is the first server version of Windows to be released the same day that his version “client” for Windows 2000 Server (Windows Server 2003 and 2008 have been sold well after Windows XP and Windows Vista, their respective bases.). It is important to note that Windows Server 2008 R2 is the first operating system from Microsoft to be available only in 64 bits, and this, in order to best prepare the transition to a total of 64 bits, in fact, the next operating system Microsoft Customer will also no longer available in 64 bits. Windows Server – History Windows Server 2008 R2 was presented for the first time at the PDC 2008, Microsoft’s annual event bringing together developers working on its platforms. At the end of this conference is a first version of Windows Server 2008 R2 is available to the developer, the Milestone 3 (Build 6801). Note that this version is “delayed” if we compare the different versions used during the presentation, such as Build 6933. In January 2009 is published the system Beta (Build 7000), 7 for TechNet and MSDN subscribers, 9 for the general public via the Microsoft Download Center. The RC (Relase Candidate) is available for its April 30, 2009 for subscribers to MSDN and TechNet, while others must wait until May 5, 2009. Finally, the final version (RTM), is compiled July 13, 2009, its availability is then announced for October 22. Virtualisation Layer Windows Server 2008 R2 loads the new version of “virtualization layer” designed for Windows Server 2008 Hyper-V R2. With this platform, Microsoft shows the desire to counter the company’s solutions VMWare, including ESX Server and VMotion option. To achieve this, Microsoft introduced many features that were missing in Hyper-V 2008 with Live Migration, which helps to migrate, hot, a guest on a physical machine to another without disrupting service to customers for the transaction becomes tranparent. Study: From Wikipedia, the free encyclopedia. The text is available under the Creative Commons. Link to this post! |












