This is a discussion on "Yay! My first test in HTML Worked!!!" within the Web Page Design section. This forum, and the thread "Yay! My first test in HTML Worked!!! are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Yay! My first test in HTML Worked!!!
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Yay! My first test in HTML Worked!!!
Ok, its very very basic, but I am sooooo chuffed!! I wrote this in notepad, with help from a little book :wink: You have got to give me some credit here... I've been relying on Dreamweaver afterall!
Have a look! I am well pleased!! http://www.galaxy.silvern.co.uk Sarah x |
|
|
|
#2
|
|||
|
|||
|
Glad to see you're 'biting the bullet' and learning to code by hand (as opposed to a WYSIWYG system). You're on the way to becoming a professional Web Master.
|
|
#3
|
|||
|
|||
|
Good Job!
I think most of us learnt this way (the hard way) but it can make things easier in the end as you have more idea of what's going on sooner. One thing I would mention to save you a lot of trouble in the future, is to make sure that all your tags use lowercase letters and none of them are uppercase. Sounds silly I know, but trust me, it'll save you some hassle if you get used to doing it this way now. |
|
#4
|
|||
|
|||
|
Thanks Guys
Sirkent - this book says to do the tags in uppercase, so they are easy to spot when looking through the script... Can you advise me why it's easier to do it in lower case? Thanks in advance Sarah x |
|
#5
|
|||
|
|||
|
yeah.. my ASP book says to do them in Upper case too... but my JavaScript book says do them in lowercase so it is easier to tell between your HTML and your SCRIPT.
|
|
#6
|
||||
|
||||
|
Actually there is an extremely good reason for using lowercase..... it's because it is part of the W3C standard.
Those not already using lowercase, should switch immediately. If you use any of the W3C validators, then it will scream out at uppercase tags and attributes. I read that google more easily indexes sites that pass W3C validation. Always use lowercase for HTML and for server side scripting (ASP, PHP, JSP) then use UPPERCASE where your scripting language allows. Also, it is good practice to use UPPERCASE for SQL statements.
__________________
Click the 'Thanks!' button if this post has helped you Rob - Webforumz Founder
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
#7
|
|||
|
|||
|
Rob is of course, completely correct. Here's the techy bit...
HTML is a fairly old language (by web standards) and originally it would have been fine to use uppercase. However XHTML was defined a few years back and it's basically the new version of HTML. There's very few differences and nothing that will really throw you once you learn HTML, but because XHTML incorporates XML (which is used to define information as opposed to HTML which defines a layout) it is case sensitive and therefore and are interpreted as different tags. If you want the lowdown on XHTML then checkout Gwx03's tutorial. http://www.webforumz.com/topic.asp?TOPIC_ID=464 I don't think there's anything there that'll really confuse you even if you don't know how to do tables, etc. It would definetly be worthwhile learning those rules and conforming to them now rather than learning to do it the way your book says and then realising that you should change! |
|
#8
|
|||
|
|||
|
Thanks! I shall switch to lowercase immediately!
I have another question, when you view source on a site, quite often there is 'spaces' or 'tabs' in between the script... like this: <p align="center"><font face="geneva, verdana, arial" size="2">Note: You must be registered in order to post a reply. To register, click here. Registration is FREE! </font></p> <table border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td bgcolor="#A4AB93"> <table border="0" cellspacing="1" cellpadding="1"> <form name="PostTopic" method="post" action="post_info.asp" onSubmit="return validate();"> <input name="ARCHIVE" type="hidden" value=""> <input name="Method_Type" type="hidden" value="Reply"> <input name="Type" type="hidden" value=""> <input name="REPLY_ID" type="hidden" value=""> <input name="TOPIC_ID" type="hidden" value="902"> <input name="FORUM_ID" type="hidden" value="2"> <input name="CAT_ID" type="hidden" value="1"> <input name="Refer" type="hidden" value="http://www.webforumz.com/topic.asp?TOPIC_ID=902"> <input name="cookies" type="hidden" value="yes"> Nicked that from here... now... do you guys just 'page tab' to do that, and is it just so things are easier to find? Is there a set rule to this? Thanks again! |
|
#9
|
|||
|
|||
|
Ok... that didn't work. But hopefully you will know what I mean!!
|
|
#10
|
|||
|
|||
|
Yes, You just hit the tab key in order to do that. All that does is break things down so you can "group" things. It makes your Code Easier to read and actually when debugging it saves a whole lot of time.
|
|
#11
|
|||
|
|||
|
nice picture!!
|
|
#12
|
|||
|
|||
|
Thanks kulegamr!!
Smokie, don't be sarcastic you naughty boy! rofl |
|
#13
|
|||
|
|||
|
No problem :wink:
|
|
#14
|
|||
|
|||
|
hand code good is, HTML learn you will, patience will develop code skills
|
|
#15
|
||||
|
||||
|
Hey people can you have a look at my new (well sort of) atempts at HTML JavaScript and CSS? Kinda validate my code for me sort of? If you dont mind:
www.thewebweaver.cjb.net Thanks |
|
#16
|
||||
|
||||
|
Ben...
Can you post this in a SEPERATE thread? That way, we don't wonder off the subject of THIS topic. Cheers.
__________________
Click the 'Thanks!' button if this post has helped you Rob - Webforumz Founder
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
![]() |
| Tags |
| yay, first, test, html, worked |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Test | JacobHaug | Webforumz Cafe | 11 | Sep 13th, 2007 16:51 |
| artviper.com/test/artviperde/index.html | artViper | Free Web Site Critique | 5 | Nov 3rd, 2006 14:48 |
| Beta Test new Open Source AJAX HTML/CSS Software | arrowplain | Web Page Design | 0 | Feb 27th, 2006 22:19 |
| HTML 4.01 test fail cos of flash | señorbadger | Web Page Design | 2 | Oct 9th, 2003 21:45 |