HTML-Gerüst bearbeiten

Parent Previous Next

Das HTML-Grundgerüst bearbeiten

Das Grundgerüst ist in der Datei 2-columns.html enthalten. Diese sieht folgendermaßen aus:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">

<html xmlns="" xml:lang="en" lang="en">


 <meta http-equiv="content-type" content="text/html; charset=utf-8" />

 <meta name="description" content="Your description goes here" />

 <meta name="keywords" content="your,keywords,goes,here" />

 <meta name="author" content="Your Name" />

 <link rel="stylesheet" type="text/css" href="andreas00.css" media="screen,projection" />

 <title>Site Title</title>



<div id="wrap">

       <div id="header">

               <h1><a href="#">Site Title</a></h1>

               <p><strong>Site slogan</strong></p>


       <div id="leftside">

               <h2 class="hide">Sample menu:</h2>

               <ul class="avmenu">

                       <li><a href="index.html">First page</a></li>

                       <li><a href="styles.html">Included styles</a></li>

                       <li><a class="current" href="2-columns.html">2 columns</a></li>

                       <li><a href="3-columns.html">3 columns</a></li>




   <div id="contentwide">

               <h2>Page title</h2>

               <p>This is an empty page that uses the included 2-column layout. To use this layout, make sure that id="contentwide" is used for the main content div and that no #extras div (which is the right-hand sidebar in the 3-column layout) is used in the code.</p>


       <div id="footer">

               <p><span>&copy; 2012 <a href="#">Your Name</a></span><br />

               Template design by <a href="">Andreas Viklund</a><br />

               Best hosted at <a href=";ling=en" title="Svenska Domäner AB"></a></p>





Der Inhalt der Datei 2-columns.html wird nun zunächst komplett, so wie er ist, in die Datei index.tpl im Unterverzeichnis templates/default kopiert.

Created with the Personal Edition of HelpNDoc: Produce Kindle eBooks easily