Jump to content
xisto Community
Sign in to follow this  
iGuest

Basic HTML Tutorial

Recommended Posts

Inserting JS

<html><head></head><body><script language="javascript etc">window.alert("Hola!");</script><!-- End JS --></body></html>
Adds JS to your site.

<!--
starts a comment
-->
ends a comment

the text inbetween is tottally ignored, the browser sees a <!-- and it skips it.

Doctypes

Although not required for your site to be considered valid it must have a doctype here is the HTML 4 transitional one:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

Share this post


Link to post
Share on other sites

Well i saw u hadn't mentioned META tags, so here goes:

 

(i'm not a code guru so i'm not sure how to explain it and stuff...) :shock:

 

Meta tags tell searches and gots (i think they do) the author of the site, keywords, and content type like html php and stuff. They can tell more stuff but i don't know what that is... :D

 

Example: (this would be between the HEAD tags of a page)

 

<META name="Author" content"AUTHORS NAME HERE"><META name="keywords" content"KEYWORDS, HERE, SEPARATED, BY, COMAS"><META http-equiv="Content-Type" content"CODE TYPE YOU USE LIKE PHP  AND HTML">

This should help your site rakings is search engines and stuff. :mrgreen:

 

Hope it helps :wink:

 

Edit: The paragraph tag, <p>. Well it makes paragraphs.... :D

 

Example:

 

<p>THIS IS A PARAGRAPH</p><p>THIS IS ANOTHER PARAGRAPH</p><p>AND THIS IS A PARAGRAPH ASWELL</p>

well, i think thats it...

Share this post


Link to post
Share on other sites

Unordered lists:

<ul>    <li>Element    <li>Element    <li>Element</ul>

Ordered lists:

<ol>    <li>Element    <li>Element    <li>Element</ol>

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.