Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > HTML guide for newbies.

Reply
Thread Tools

HTML guide for newbies.

 
 
Starshine Moonbeam
Guest
Posts: n/a
 
      11-30-2004
In article <>, Neal
() dropped a +5 bundle of words...

> On Mon, 29 Nov 2004 22:01:14 -0600, Starshine Moonbeam
> <> wrote:
>
> >> So <h1> is not a tag?

> >
> > No. The correct term is element.
> >
> > I don't wig out if people call it tag. I use tag so who am I to crack
> > down on people for doing it?
> >
> > But the proper term is element.

>
> So <h1> is an element???


Yes.


--
Starshine Moonbeam
mhm31x9 Smeeter#29 WSD#30
sTaRShInE_mOOnBeAm aT HoTmAil dOt CoM









 
Reply With Quote
 
 
 
 
CanLaw
Guest
Posts: n/a
 
      11-30-2004
Justified text is another mark of the amateur.
You are not a designer or writer just because you cobble a little html together
anymore than a bricklayer is architect.

>> I've been trying to get my lists to output justified text, but haven't
>> had much luck. Tried google-searching for the answer, but each site
>> that I went to provided no help. Saw a <ul align="justify"> suggestion,
>> but it didn't work
>>
>> I'm picking things up as I go along, sometimes with much head-ache; it
>> would be far easier to have a one-stop spot to get detailed answers.


Canadian Legal Help, Articles, Legal Tips, Lawyer Referral Service
and related support for anyone needing Canadian legal assistance in any area..
http://www.canlaw.com (a division of Kirwood Inc.)
x-no-archive:yes


 
Reply With Quote
 
 
 
 
rf
Guest
Posts: n/a
 
      11-30-2004
Starshine Moonbeam wrote:
> In article <>, Neal
> () dropped a +5 bundle of words...
>
> >
> > So <h1> is an element???

>
> Yes.


No. <h1> is a tag.

<h1>heading</h2> is an element, with an opening tag, some content, and a
closing tag.

--
Cheers
Richard.


 
Reply With Quote
 
Neal
Guest
Posts: n/a
 
      11-30-2004
rf wrote:
> Neal
>> On Tue, 30 Nov 2004 03:07:22 GMT, rf <rf@.invalid> wrote:
>>> <quote>
>>> The Bare Bones Guide to HTML lists every official HTML tag in common
>>> usage,
>>> </quote>
>>>
>>> Element. It is HTML Element. Not tag.

>>
>> So <h1> is not a tag?

>
> <h1> is a tag. It is the opening tag for the h1 element. The h1 element
> also
> has some content and a closing tag.


So the element is delimited by a tag or pair of tags, no?

> The middle bit is very important. The content is not some content on the
> "page" with <h1> and </h1>tags wrapped around it. It is the content of
> the
> h1 element.


Yes, the tag(s) plus the content (if not empty) comprise the element.

> When talking about the "contents" of an HTML page we talk about the
> elements
> that make up that page, not the tags, which are a part of the elements.


Indeed.

> An HTML tutorial should be talking about elements and how they interact.
> It
> should not have as its major emphasis, and in its opening paragraph, a
> discussion of tags. That bit comes when we discuss what an element is.


Hmm. It would seem to me that using "tags" in a description would be
better bait than "elements" considering "tag" is a term more people have
heard of.

Of course, I agree with you rf, but using the term 'tag" isn't cause
enough to trash a site.

> This confusion (coupled with the misconception that tags are actually
> "commands")


Well, that's a separate issue, isn't it?

> leads to things like:
>
> <b>bold<i>bold italic</b>italic</i>
>
> This is of course wrong but it "does" mean something if you think about
> tags, or "commands" It does not make any sense at all if you think about
> elements.


Well, it depends on how "tags" are taught.

In my formative days, I thought of "tags" as on-off switches. This is
probably prevalent, and certainly wrong. After I learned more, I realized
that "tags" had to be nested properly, and I began learning the rules of
nesting.

Later on I learned of "elements". I don't regret it, and I agree that
speaking of "tag" only in a paragraph about "elements" s better. But don't
be deluded into thinking that "tag"-related understanding necessarily
equates to poor nesting.

Devil's Advocate role aside, I still think that "tags" is only a
four-letter word in count only. And that any good primer should mention
"element" nore than "tag", which you did not indicate the site in
questiuon failed to do.
 
Reply With Quote
 
Neal
Guest
Posts: n/a
 
      11-30-2004
Starshine Moonbeam wrote:
> Neal wrote:
>> So <h1> is an element???

> Yes.


I think you'll find that

<h1>Teddy Grahm Memories</h1>

is an element, while

<h1>

is a tag.
 
Reply With Quote
 
Shailesh Humbad
Guest
Posts: n/a
 
      11-30-2004
Inkspot wrote:
> Can anyone suggest a good website (or book) for someone new to the
> webmaster game?
>
> I've been trying to get my lists to output justified text, but haven't
> had much luck. Tried google-searching for the answer, but each site
> that I went to provided no help. Saw a <ul align="justify"> suggestion,
> but it didn't work
>
> I'm picking things up as I go along, sometimes with much head-ache; it
> would be far easier to have a one-stop spot to get detailed answers.


An oldie, but goodie:
http://www.blooberry.com/indexdot/html/

A book you want to get: Dynamic HTML - The Definitive Reference 2ed
http://www.amazon.com/exec/obidos/AS...161/somacon-20

Neither are for total newbies. If you are a total newbie, I suggest:
http://archive.ncsa.uiuc.edu/General...TMLPrimer.html

Your question indicates non-newbieness. What will increase your skill
is making test pages and trying them on different browsers. Then, to
reach guru status, get 100% from the free validators at:

HTML: http://validator.w3.org/
CSS: http://jigsaw.w3.org/css-validator/

To get justified text in a list, one way is:

<style type="text/css">
UL { text-align:justify; }
</style>
<ul>
<li>This text should be justified.
<li>As should this text be justified.
</ul>
 
Reply With Quote
 
Starshine Moonbeam
Guest
Posts: n/a
 
      11-30-2004
In article <>, Neal
() dropped a +5 bundle of words...

> Starshine Moonbeam wrote:
> > Neal wrote:
> >> So <h1> is an element???

> > Yes.

>
> I think you'll find that
>
> <h1>Teddy Grahm Memories</h1>
>
> is an element, while
>
> <h1>
>
> is a tag.


Fair enough. I just thought people used tag and element interchangably
with element being right and tag for convienence. I didn't know there
was an actual definition for tag. Whoops.



--
Starshine Moonbeam
mhm31x9 Smeeter#29 WSD#30
sTaRShInE_mOOnBeAm aT HoTmAil dOt CoM









 
Reply With Quote
 
Mark Parnell
Guest
Posts: n/a
 
      11-30-2004
Previously in alt.html, rf <rf@.invalid> said:

> <h1>heading</h2> is an element


Funny looking element.

--
Mark Parnell
http://www.clarkecomputers.com.au
"Never drink rum&coke whilst reading usenet" - rf 2004
 
Reply With Quote
 
rf
Guest
Posts: n/a
 
      11-30-2004

"Mark Parnell" <> wrote in message
news:lk9xx34bnzxv$.1kjvn3dey4kge.mark@markparnell. com.au...
> Previously in alt.html, rf <rf@.invalid> said:
>
> > <h1>heading</h2> is an element

>
> Funny looking element.


Yep. I haven't validated this post yet.

--
Cheers
Richard.


 
Reply With Quote
 
rf
Guest
Posts: n/a
 
      11-30-2004
Starshine Moonbeam
>
> Fair enough. I just thought people used tag and element interchangably
> with element being right and tag for convienence. I didn't know there
> was an actual definition for tag. Whoops.


http://www.w3.org/TR/html4/intro/sgmltut.html#h-3.2

--
Cheers
Richard.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
firefox html, my downloaded html and firebug html different? Adam Akhtar Ruby 9 08-16-2008 07:55 PM
Killer HTML beginners guide...highly recommend tarverlee HTML 11 08-01-2006 05:48 PM
HTML reference guide mouse@house.spam HTML 7 07-25-2006 02:28 PM
Basic System Buyer's Guide - June 2005 Silverstrand Front Page News 0 06-22-2005 03:31 AM
regex to extract color guide from html cp Perl Misc 2 10-27-2004 01:44 AM



Advertisments