|
Learning HTML
Fri, 14 Jul 2006 14:20:01 +0100
uk.people.silversurfers
previous
Aries...
|
My first lesson completed this morning - very basic but a solid learning
process I will not forget. It's the hidden source that's the important
pmj...
|
Yep, definitely!
It doesn't matter what you use to write the HTML, what matters is
that the HTML that is written (either Automatically by a WYSIWY - What
You See is What You Get - HTML Authoring Package or a Text Editor) *is*
actually proper HTML
Anythin gwhich tries to "Hide" & sheild you from the actual HTML
will always lead to some probs somewhere or other dopwn the line.
|
framework. I used notepad - not FrontPage:)
pmj...
|
Yep, HTML (& CSS) is actually just Plain Text - it's a *Markup*
Language - HTML = Hyper Hext markup Language, so whatever you use
has to "Markup" the Text (the words on the Page) so that a Web Browser
can "Render" & Display it.
|
nearly forgot the link
Aries...
|
Result: Passed validation
Address:
Encoding: iso-8859-1
Doctype: XHTML 1.0 Transitional
Root Namespace: http://www.w3.org/1999/xhtml
|
pmj...
|
A good start!
But...
A couple of points - That's actually XHTML, which is a very much more
rigidly defined Markup Language - it's much more important when using
XHTML, to make sure that the actual HTML Code that you (or your Web
Page Authoring thingy) writes *is* actually Valid.
With any Markup Language, what is displayed on the Browser can only
be reliably predicted if the Input is actually Syntactically Valid -
If there are Errors in it, that's what makes it hard to Debug & the
Display Results will be unpredictable - different Browsers treat
Errors in different ways.
Also (as Ali mentioned) you've used an Tag, but there are no
or Tags before it.
Aries...
|
I realise that but this was just a test page and deliberately chose the
smaller heading :)
Ali...
|
Yes, and people have been doing that ever since there's been a World Wide
Web. Don't worry to much. we're just trying to keep you right from the
beginning.
When you use CSS you'll be able to have an tag at a smaller size (or
indeed an tag at a larger size, if you want.
|
|
(X)HTML is a Markup Language, which means that the Tags are s'posed
to be used to "describe" *what* the Text is (so the *Browser* can
then decide *how* to Display it, according to its own built-in Styling
Rules & along with an CSS Styles that are defined) & it makes no sense
to have a Heading Level 3 without Heading Levels 1 & 2 before it.
|
Ali...
|
Well done! I used Notepad for about a year when I started.
I tried FrontPage once (that's the number of times I tried it) :^)
You might eventually want an editor that does syntax highlighting:
you're supposed to use and before - they represent verious
levels of heading in a document
Aries...
|
val snatches the nit comb LOL
|
|
ned...
|
That brings back memories.
Well done. The world is now in the palm of your hand.
You can now do anything,
Aries...
|
Ooooh can I really .... well now .... ;)
|
....... with maybe just a little bit of help from your friends.
:-))
Aries...
|
with lots lots of help from my friends you mean :)
|
'So pleased for you.
Aries...
|
http://www.copelands.plus.com/experiment1.html
|
next
|