What is HTML? HTML (hypertext markup language) is computer language that is used to webpages. It can be confusing to understand for some of us kids. HTML pages are text files that has of HTML tags (they can place the text or images whereever you want to place it), and text you can place between the tags so the text willshow up on your page when you put it on the WWW. Tags are instructions that tell your browser what to show on ya website. They break up your webpage into basic sections. All tags start with a < (left bracket) and end with a > (right bracket).
If you are a starter you need 4 tools An editor to save your html or website in or just for htm notes such as notepad.You also need webspace in which trap17 will provide to you.You also most likely will need graphics.And the last thing is ideas because you dont want you site to be like everyone else.
how to set up ya page basic page setup is easy. You can copy and paste this code into your editor and just add your own stuff in between the <body> and </body> tags:
this tag only works in the IE browser. Netscape will ignore the tag, showing a regular background instead. CSS gives you more freedom with backgrounds but this is a html tourial and were not gonna go into css untill my next tourials maybe.
CODE
<html> <head> <title>Your page title goes here</title> </head> <body>
---Everything that appears on your page will be entered here---
</body> </html>
Here is a more exciting page.
CODE
<html> <head> <title>trap17 is great</title>
<style type="text/css">
body { background-color: #33ccff; } h1 {font-family: arial, verdana; color: 6600ff } p {font-family: arial, verdana; color: 6600ff }
</style>
</head>
<body>
<div align="center"><h1>Max's Page</h1></div>
<div align="center"><p>My name is ----. I'm ----- pet poodle. This is my first and probably my last web page.</p></div>
Now the page begins with <html> and ends with </html>.These are the tags they begin and even with.The head tag has the title of your page, and between the <body> tag and the </body> tag is where you put all the text and images and stuff that will appear on your page. tags must always be nesting. For example, <b><u><Hello</u></b> is correct, <b><u><Hello</b></u> is not. basic tags are covered in the HTML sections of this page.
how to add image background To add a background image to your page, you need to add this tag after the </head> tag, remember that you can use a .gif or a .jpg, you just have to change the filename in the code if you use a .jpg
If you just want a background color, you would add this tag after the </head> tag:
CODE
<body bgcolor="#000000" (whatever color # you want)>
QUOTE
The background image has to be uploaded
How do I add text to my page? To add text, you need to set up headers and paragraphs
CODE
<h1>This is a header</h1>
CODE
<p>This is a paragraph.anyway to let you know a little more about headers, a header is kinda like a title. You can have less important headers named h2, h3, h4, h5, and h6. You can change the header font, font color, font size, etc. by using style sheets.</p>
You can align your paragraphs this way, the default is aligned left: <p>You write your text here</p>
Now To center your text you do this:
CODE
<div align="center"><p>This will center your text</p></div>
To align your text on the right you do this:
CODE
<div align="right"><p>This will align your text to the right</p></div>
To make your text bold you do this:
CODE
<p><b>This will make your text bold</b></p>
To italicize your text you do this:
CODE
<p><i>This will italicize your text</i></p>
To underline your text you do this:
CODE
<p><u>This will underline your text</u></p>
In order to make a line break you need to add this tag wherever you want to return to the next line: <br>. You can use this tag to make vertical spaces between images, and it works just like the enter key on your keyboard.
For example, to write an address:
CODE
<p>trap smithz<br> 123 Any Street<br> Anywhere, Any State 12345</p>
A <br> tag does not need a closing tag
You can wrap your text around an image like this:
CODE
<p><img src="turtle1.gif" width="75" height="50" alt="turtle" align="left">Adding your text here will wrap your text around your graphic, with your graphic on the left and your text aligned to the left of the graphic.</p>
Text wrapping with forced line breaks to form paragraphs:
CODE
<p><img src="turtle1.gif" width="75" height="50" alt="turtle" align="left">Adding your text here will wrap your text around your graphic, with your graphic on the left and your text aligned to the left of the graphic.<br clear="all"><br> This is a new paragraph.</p>
If you want to change the font for just a portion of your text you can override your style sheet by adding this code:
<font face="your font" size="your size #" color="#your color number">your text goes here</font>
All of the text in between <font> and </font> will be changed, but the text before and after this tag will be the default font that you set up in the basefont tag.
I will add more advanced html tourials.I might add another later or probly in a few days so study this one because its more to come.I might also add a css tourial but I am not sure.
Notice from KuBi:
There is no need to put so many spaces inbetween each line. One is enough.
It might be best if you explain what a lot of the tags do. The <p> tag starts a paragraph. The <style> tags add CSS to your page (Cascading Style Sheets) which improves your design with special tags without unnecessary hassle.
The <body bgcolor="#000000" (whatever color # you want)>
CODE
part can be implemented in the stylesheet like this (I copied your example). Make sure you use hexadecimal codes (an example would be #000000 which will give your text or background a black color. You can find a list of these online. [CODE] body { background-color: #33ccff; }
Also, you don't need to put a p (paragraph) tag in front of your italic or bold tags as that will form a seperate paragraph for just that snippet of text you wanted emphasized. I prefer using <em> to <i>, however.
Lastly, it's bad design to use <font face="your font" size="your size #" color="#your color number">your text goes here</font> simply because browsers may interpret it differently. It can be done through CSS as you've demonstrated and that's the preferred method of altering text.
This code will actually define what encoding you will be using on your site and browser will pick automaticlly from what have you encoded. I have choosen encoding 1250 Middle European which will suit from special characters in text for Slovenian Language. There should be list of all available encoding on the net, list is also available in the browser (Firefox - View - Coding....). It is important to write down head of HTMl document correctly, cause it depends on it if website content will be displayed as it should be.
Nice tutorial, pretty much covers all the basics. There are literally millions of tutorials available on the internet regarding HTML and all the other coding types.
its a useful tut but it has been done on here before a good suggestion would be to provide some links to get people started even quicker on some more html stuff.
Same for the doctype declaration, which should be before the <html> tag not the <head> one:
CODE
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional //EN" "http://www.w3.org/TR/html4/loose.dtd">
Also, a simpler way of aligning text would be to do this:
CODE
<p align="center"> Centre Aligned </p> <p align="right"> Right Aligned </p>
Additionally, putting the align tag in an image doesn't change whether it shows in the middle, left or right hand side of a page. Doing this probably ends up devalidating your code. Please test your scripts before printing them. If you want centre aligned images, this is the code to use:
CODE
<p align="center"><img src="bla.jpg" alt=""></p>
You must include the alt="" tag in an <img> tag.
Other than that a good tutorial entering people into the world of html
Altough this is so basic, Never know there's something I can learned from here ^^. I'm usually using frontpage to edit html it easier than using notepad, because I can preview the page before I save it. Thanks anyway
I have heard about frontpage, though I stay away from it due to my bias against Microsoft - and the fact that I run Linux . I use ZDE, which I guess is the same sort of thing. A good site that I used a little when learning HTML is http://www.echoecho.com/htmlbasics.htm, which has a pretty good explaination. Later I also discovered http://www.tizag.com, which is a real good place not only for HTML but for other languages aswell...
Wow that tutorial is pretty good. If you have just started with the website and HTML world start with that tutorial and move your way up. Thats what i did. Well actually at my school there is a class called web creation and it only teaches html and it pretty much teaches you everything about html and covers all of it. If you are intrested ask around your school if they have such a program and belive me that class really does help
The tutorial is pretty nice, its basic and easy to learn. But for people who can shell out a few hundred, then you should go with dreamweaver which is a what you see what you get type of program. Its really powerful and all you have to do is drag and type stuff. It will even let you upload you're webpage to your server. you can also go to Dynamic drive and check out some special effects and useful stuff for your website
If you are a novice web designer, but want your site to look advanced and proffessional, then what
better way to do so than to use HTML tables? HTML tables are a really easy way of formatting your
text, to make your ste look proffesional. It looks good, and its easy, what more can you ask for?
You have to use the tag, so first lets start off with: HTML Table > /table > In
between theese two tags, we will add the data for the table, using the tags and . =Table
Heading (Title) =Table Data (what you want in the table) =table row (new row) So, lets ...
Pre-requisite: HTML, inline frame tags 1 Attachment(.zip) included. Updates : 29-12-07: Doctype
added in example files (Advised by jlhaslip) Designing a whole website takes a lot of planning
and organization. Designing a proper navigation system is a basic step in building your website. If
you are developing webpages in html you would have observed that as you go on creating pages it
becomes difficult to maintain the links to the pages. This article will guide you in developing a
common navigation menu for your website. It describes three ways, so if you don'...
like in the topic, here is a description how to change the Backgroundcolor "On The Fly", by klicking
on a button or radio-box first, we ned the html-and body-tags, create a new html-file on your
desktop and write the following: QUOTE <script language = "JAVASCRIPT">
browser interpretation: html - tag means "hey, browser, here comes HTML" in the body-tag you define
the looking of your site. you can add things like "bgcolor" for the background, "text" for the
textcolor and link / alink / hlink / vlink to define the linkcolor ( ) the scripttag i...
There is another Topic about writing 'clean' HTML code posted elsewhere on the Forum.
I'll edit this Topic and add the link so you can review it on your own, and there is no need for
me to comment on it in this thread, but the purpose of this Topic is to introduce a pair of
functions which can be used for making sure that the HTML output from my scripts is readable when a
view-source is reviewed. Two handy functions are included here. They work together quite nicely,
and I will start this Tutorial with a short summary of the reasons for their 'being...
Html Legend
- Learn how to create a handy legend with HTML! (9)
I think this is pretty neat... good for those people who maybe aren't that great at designing
things but still want something to look nice.. CODE <fieldset> <legend>Legend
title</legend> Content </fieldset> try it in note pad.. it looks nice...good for
forums, sign up forms......
Hi, there are many tutorials about this, but i would like to type the steps i followed in order to
get cakephp working on my user public_html folder. as many of you probably know, if you have
apache's userdir module loaded, you can put your web pages on /home/user/public_html , and
access them with the url: http://localhost/~user/ . I really prefer this, so all my web pages are
on my personal home, but how to configure cakephp to work with these paths, i got a hard time with
this, but finally got it!. here's how: in case you don't have apache2's u...
HTML Span Description The span tag is quite the handy tag to have at your disposal. You can use
it for everything from Text Formating, to creating a scrollable text area. When combined with CSS it
becomes an easy-to-use tool for making your website as uniform as possible, as your not bogged down
with tags for every heading and title on your website. Try It Out CODE <html>
<body> <div class="content"> <span class="heading1"> Heading
or title goes here. </span><br><br> All the content insi...
Description I find that it is often difficult to write a sentence backwards, but thanks to HTML, I
can now complete this task in only a few seconds. Now the only problem is it is very difficult to
read... Try It Out Welcome to one of the most useless functions of HTML. The tags enable you to
write a sentence backwards. The code is quite simple. CODE <bdo dir="rtl">I
find that it is often difficult to write a sentence backwards, but thanks to HTML, I can now
complete this task in only a few seconds. Now the only problem is it is very difficult to r...
NOTE: Don't use a rich text editor* for writing HTML code! Use Notepad in Windows,
SimpleText in Mac or TextEdit in OSX, but you must set the following preferences for the HTML code
to work! In the Format menu, select Plain Text. Open the preferences window from the Text
Edit menu, then select "Ignore rich text commands in HTML files." Start Creating Your Own HTML
File You can either use HTM or HTML file extensions. For more information, visit:
http://filext.com/file-extension/htm for HTM or http://filext.com/file-extension/html for HT...
Ok, I will teach you how to create a simple HTML editor that runs online with buttons that add HTML
tags. Before we start: You should have basic knowledge of these languages. HTML/XHTML
Javascript PHP You will need Ability to use filesystem functions. Chmodding abilities
Features of Editor Online PHP safe Full HTML support A Few Bad Features Can only create new
documents or overwrite Fairly unsafe Now we are ready to begin. The PHP Script This will be
our PHP script that we will use to make the file. Make a file called save.php Here is the...
Ever wonder how to make those stylish forms you see everywhere? Well now it's your change to
learn. This short tutorial will show you how to do exactly that. Here is a bit of css to spice
up the form. I have included comments to explain what classes will change what in the forms.
CODE <style type='text/css'> .form table { background-color: #187cae; }
/*The following css class will change the table cells within the .form div */ .form td {
background-color: #bbe0f4; padding: 3px; border: 0px; ...
Well, I decided to try and help out some of the users here who might be unexperienced in HTML, so I
condensed the begginer's HTML course at my website. Here it is... Lesson 1 HTML means Hyper
Text Markup Language. HTML is a very common language used for many websites, is the base for more
complicated and powerful langauges like php, HTML can seem hard, but you will find it is one of the
easiest langauges one can learn. The core of HTML is the tag, a tage is just a set of two
arrows-like brackets created by hitting Shift and the comma key, or Shift and the period...
Whilst searching around for help to setup cutenews blog I came across a way to use php in html pages
- lo and behold it works! so I thought I'd share it with you all (Unfortunately I can't
remember the site so I wrote this up a couple of minutes after I did it:) ). This method requires a
web server with apache installed. So, luckily for us all this covers the whole of Trap17... even
Qupis /tongue.gif" style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" /> Just
to make the point, this is in no way a difficult task and it doesn't requir...
A simple tut to make a simple shoutbox. Let me jump right in. First of all you need the standard
equipment for PHP, an IDE like XAMPP and an editor like PHP EDITOR 2OO7. Were going to make a
simple guestbook using three files, webpage.php, shout.php and shout.txt. Webpage.php can be
changed to whatver you want, it will be the page on which the guestbok is shown, you could even use
this code and add it to another php page n your site. Shout.php is the proccessing page and
shout.txt is where the shouts are stored. Firstly we need to make the visual design of the box....
This code: CODE <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd"> <html> <head>
<title>HTML 4.0 Strict document</title> <meta
http-equiv="content-type" content="text/html;charset=utf-8" > <meta
http-equiv="Content-Style-Type" content="text/css" > </head>
<body> <p>... Your HTML content here ...</p> <p>... More
HTML content here ...</p> </b...
Joomla is one of the most powerfull CMS sistems around. It is free under GNU/GPL license and
everyone with simple knowlege of webdesign (and even without it) can use it for it's website.
For now the only way i know on how to design a template in joomla is by using Dreamweaver and Joomla
(joomlasolutions1.0.mxp-dreamweaver.mxp) extension for dreamweaver! Template design in joomla
is quite simple really. This template that i'll show you is the most simplest of them all, but
it's enough for one to learn Basics of template design. Further notice is that this...
Ok. Well i am writing this as a series of tutorials i will be doing on this subject, so enjoy. I
hope this helps. Introduction to HTML and CSS
HTML and CSS are to work together. HTML is what puts the characters on the page, while CSS is what
makes everything look outreageous! For instance, I would use HTML if i wanted to put "Trap17 is
the poop!" onto my page, although if i wanted to make it look nice like this by adding a font,
and maybe some color, then I would use CSS. Learn the HTML. Ok this is my lit...
Have you ever wondered how people have a normal link but all it does it take you to the middle of a
long page? well here is a solution DEMO: Here Ok well first off for the link it will be just
like a normal link code except you wont put a http://URL.com/file.php it will look somthing like
this QUOTE name ">Click This Link! there must be a # sign in front of this to work..
now, for the content that the person will be re-directed to after clicking the link QUOTE name
"> the items in bold is what you need to change QUOTE name "> i...
Multiple Classes in Css Styles Classes are used in html pages to give certain defined
attributes to elements. They are useful when the attributes are to be used in more than one place on
a page. (Named Id's are only allowed once per page, but I digress... might have a tutorial on
that some day.) Sometimes you want Red text and sometimes you want Bold text. Easy enough to do,
simply define a class and apply it to the element you want red or bold. Use this class where you
want on the page, since classes are enabled to be used in several spots, for different u...
Well i thought it was time to bring in issue 2 of html tips and tricks and i found a very
interesting html coding which i thought was funny as hell its called Preventing Search Engine
Indexing this coding is used to keep your website from being index why i don't know why you
don't want you website listed unless it someone stupid as in telletubbies.com but heres the code
This tag tells the robots not to index this page and not to follow any links within the
page. QUOTE This tag tells the robots not to index this page, but follow any links wit...
WEll its been awhile since i did so i will put up some more useful html tips and tricks here on
trap17.com Ok for trick actually, want to know how some websites got those ool icons put on their
website link in the favorites folder well here you go in 3 quick steps. 1. create an image then
shrink it down to 16x16 and save it as avicon .bmp. 2. then change it to .ico, when is the file
reconizing it as a icon., if you are having problems saving it, there are some resources out there
that can change it for you. 3. load the image to your website and add this tag in betwee...
Well by the many views i have seen on my web design issues i should go into new territory, so im
going start with some useful xhtml info for you web design fenatics, the info i present to you is
from other websites so be warned it might or might not work all depends but lets start off with the
basic info for using xhtml. Also this tutorial is for beginners so i won't be doing any xml
info due to it being a more server side then actually webdesign 1. DOCTYPE this is used to tell
the browser what kind of infomation it will be displaying. nothing as really changed...
Todays issue we are going to talk about a bunch of good newbie stuff. The first is meta tags to
make it easy use a generator, from my searches on the internet ther are soe many meta tags to use
its not even funny but for those whoe like them is are the more common ones that are used for a
website. QUOTE also for a dynamic look using the meta this called page
fading so to speak, what it does when you click on a link the website will fade for a duration of
time to the next page on your site warning it doesn't do anything when you first cl...
this little trick i though was useful it used to send a visitor to another page using meta tag and
it sends the user to another page with in a few seconds for example you will go to the new page in 5
seconds CODE <META HTTP-EQUIV=REFRESH
CONTENT="5;URL=http://www.yoursitehere.com"> and for those have a good knowledge
of javascript they could use this script right here CODE <html> <head>
<title>Refresh Page</title> <script language="JavaScript">
<!-- var time = null function move...
Cascading Stylesheets, or CSS, is a very easy way to spice up your web site. The thing I like about
CSS, is it gives you a more extended version for styles. The tag for example is very limited with
what it can do. With CSS though, you can do numerous things. from mouseovers (a:hover) to just
changing a simple paragraph tag to a fancy one. there are two ways to incorperate the style
sheet. the first one is to just put it inside your page: CODE <html> <head>
<style> all the stuff would go here - </style> </head> ...
Hello and welcome to our lil' web programming session. Here we assume that our students are
complete noovices of web programming. If you havent ever done any web prograqming, then you've
come to the right place. HERE WE GO
-------------------------------------------------------------------------------- HTML TAGS HTML
works in a very simple, very logical, format. It reads like you do, top to bottom, left to right.
That's important to remember. HTML is written with TEXT. What you use to set certain sections
apart as bigger text, smaller text, bold text,...
Here is the link to my first HTML turtorial, which will help as a refresher course, even if you
already know HTML pretty wel. http://www.trap17.com/forums/Html-t8780.html WebMaster Level 1
Lesson 1 a Breif Refresher Course Remeber the tutorial I wrote up a few days ago? Well this is
the sequel, it includes some heavy HTML, some CSS. First of all we should make sure your still up
to date, so take this simple little quiz, it you get 2 or more wrong please go back to the first
tutorial and do a little reveiwing. True or False? 1.) The basic structure of HTML is...
=============================================================================== ***Simple HTML Guide
By: Chris Martínez a.k.a. iLL*** ..::::.. ill.zero gmail.com ..::::.. ..::::.. www.zroenergy.net
..::::.. =============================================================================== How To Use
this HTML Guide
---------------------------------------------------------------------------------------- Many things
are explained in this guide, if you already know them, you might wish to skip the first few sections
and go straight to the tags. Notes are made between ..:: and...
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE
forum, Create your own topics, Ask Questions, track topics, setup
subscriptions & notifications and Get a Free Website w/ Email and FTP.