Skrivtips
- Filtered HTML:
Tillåtna HTML-taggar: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
Denna webbplats tillåter innehåll med HTML. Att lära sig HTML kan kännas som en övermäktig uppgift, men att lära sig de enklaste HTML-taggarna är mycket enkelt. Denna tabell ger exempel för varje tagg som är aktiv på webbplatsen.
För mer information, se W3C:s HTML-specifikation eller använd en sökmotor för att hitta andra webbplatser som förklarar HTML.
Taggbeskrivning Du skriver Du får Ankare används för att skapa länkar till andra sidor. <a href="http://www.matvett.se">Matvett</a>Matvett Betonat/kursivt <em>Betonat/kursivt</em>Betonat/kursivt Stark <strong>Stark</strong>Stark Citerat <cite>Citerat</cite>Citerat Kodad text som används för att visa programkällkod. <code>Kodat</code>KodatOnumrerad lista - använd <li> för att påbörja varje ny post i listan <ul> <li>Första posten</li> <li>Andra posten</li> </ul>- Första posten
- Andra posten
Numrerad lista - använd <li> för att påbörja varje ny post i listan <ol> <li>Första posten</li> <li>Andra posten</li> </ol>- Första posten
- Andra posten
Definitionslistor liknar andra listor i HTML. <dl> inleder listan, <dt> inleder definitionstermen och <dd> inleder definitionsbeskrivningen. <dl> <dt>Första termen</dt> <dd>Första definitionen</dd> <dt>Andra termen</dt> <dd>Andra definitionen</dd> </dl>- Första termen
- Första definitionen
- Andra termen
- Andra definitionen
De flesta ovanliga tecken kan skrivas in direkt utan problem.
Försök använda HTML-teckenenheter om du råkar ut för problem. Ett vanligt exempel är & för ett &-tecken. En komplett lista över teckenenheter ("entities") finns på HTML entities.Några av de tillgängliga tecknen är:
Teckenbeskrivning Du skriver Du får Tecknet & && Större än >> Mindre än << Citationstecken "" - Rader och stycken hanteras automatiskt. Radbrytningar (<br />) och taggar för stycken (<p> och </p>) sätts in automatiskt. Om stycken inte fungerar är det bara att lägga till ett par tomrader.
- Content in [[double square brackets]] will be linked to existing content with that title, or a page to create that content. Links can contain an optional bar, "|". Content on the left of the bar is the target; to the right, the link shown. Links to pages outside this site are allowed. They must start with one of the following: "http", "https", "ftp", or "mailto", and can exist either by themselves, or on the left of the bar. Examples:
- [[simple link]] - will go to the content titled "simple link" or a page to create that content.
- [[this is the target|this is the source]] - will present "this is the source" as a link to "this is the target", or a page to create that content.
- [[http://www.example.com|this is the source]] - will present "this is the source" as a link to http://www.example.com.
- [[http://www.example.com]] - will present "http://www.example.com" as a link to http://www.example.com.
- Webbadresser och e-postadresser görs automatiskt till länkar.
- Rader och stycken hanteras automatiskt. Radbrytningar (<br />) och taggar för stycken (<p> och </p>) sätts in automatiskt. Om stycken inte fungerar är det bara att lägga till ett par tomrader.
- Content in [[double square brackets]] will be linked to existing content with that title, or a page to create that content. Links can contain an optional bar, "|". Content on the left of the bar is the target; to the right, the link shown. Links to pages outside this site are allowed. They must start with one of the following: "http", "https", "ftp", or "mailto", and can exist either by themselves, or on the left of the bar. Examples:
- [[simple link]] - will go to the content titled "simple link" or a page to create that content.
- [[this is the target|this is the source]] - will present "this is the source" as a link to "this is the target", or a page to create that content.
- [[http://www.example.com|this is the source]] - will present "this is the source" as a link to http://www.example.com.
- [[http://www.example.com]] - will present "http://www.example.com" as a link to http://www.example.com.
To add a lightbox to your images, add rel="lightbox" attribute to any link tag to activate the lightbox. For example:
<a href="image-1.jpg" rel="lightbox">image #1</a>
<a href="image-1.jpg" rel="lightbox[][my caption]">image #1</a>
To show a caption either use the title attribute or put in the second set of square brackets of the rel attribute.
If you have a set of related images that you would like to group, then you will need to include a group name between square brackets in the rel attribute. For example:
<a href="image-1.jpg" rel="lightbox[roadtrip]">image #1</a>
<a href="image-2.jpg" rel="lightbox[roadtrip][caption 2]">image #2</a>
<a href="image-3.jpg" rel="lightbox[roadtrip][caption 3]">image #3</a>
There are no limits to the number of image sets per page or how many images are allowed in each set.
If you wish to turn the caption into a link, format your caption in the following way:
<a href="image-1.jpg" rel='lightbox[][<a href="http://www.yourlink.com">View Image Details</a>]' >image #1</a>
- Webbadresser och e-postadresser görs automatiskt till länkar.

>
>
>
>
>




Nya kommentarer
1 dag 20 tim sedan
1 dag 22 tim sedan
2 dagar 16 tim sedan
2 dagar 17 tim sedan
3 dagar 3 tim sedan
3 dagar 15 tim sedan
3 dagar 15 tim sedan
3 dagar 16 tim sedan
3 dagar 18 tim sedan
4 dagar 21 min sedan