HTML and CSS Reference
In-Depth Information
Upload and install.
Static files can be directly uploaded to the web server.
Server-side applications usually have some installation files that should be uploaded
to the server. These files can be executed on the server to install and configure the
application.
Share the web site through a domain.
Note that there is no fixed order for these tasks, although some always precede others. Furthermore, these
steps apply for static web pages. If the site relies on server-side scripting, the steps depend on the type of the system.
Content Management Systems such as WordPress or Joomla! generate the basic site structure during initialization.
Such systems are usually based on PHP, so the index page of the site will be index.php rather than index.html , all
web site data will be stored in a database such as MySQL instead of static HTML files, headings and footers are stored
centrally, and new pages are typically created through the menu of the graphical user interface.
Following the basic principles discussed in the next sections can serve as the basis for developing standard-
compliant code from scratch. The list of web site components is not complete by any means. However, most of these
samples can be applied in a variety of markup languages and style sheets and are frequently applied in web design.
Note
the order of the step orders is a suggestion only.
XHTML
XHTML 1.0 Strict documents can be developed with the following steps. Other XHTML documents can be authored
similarly by applying the desired document type.
1.
Create XML declaration.
<?xml version="1.0" encoding="UTF-8"?>
2.
Add document type declaration.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
" http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd " >
3.
Add root element with default namespace and language setting.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
" http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd " >
<html xmlns=" http://www.w3.org/1999/xhtml " xml:lang="en" lang="en">
</html>
 
 
Search WWH ::




Custom Search