Website Coding

Stuck on a line of code? Find resources and post your coding questions here.

Forum Sponsor (Advertise with us)
Reply
 
Thread Tools Display Modes
    #1 (permalink)  
Old 03-25-2008
Contributing Member
 
Join Date: Dec 2007
Location: California Central Coast
Posts: 122
Default Q from session one
Hi Tess,

I went thru all of session one and did the homework. I compared it to the sample page and it looks like it all matches except one small problem. ALL the text looks bold. I've gone thru all the steps, repeated them, rechecked the tags to make sure I did them right, but I can't seem to get rid of the bold??
What do you think?

Thanks,
__________________
Lisa007
http://www.a1officepro.com
Reply With Quote
    #2 (permalink)  
Old 03-25-2008
Tess's Avatar
Senior Member
Company name: Codehead, LLP
Latest blog post: SEO Q&A
 
Join Date: Apr 2007
Location: Portland, OR
Posts: 9,131
Blog Entries: 3
Default Re: Tess, Q FROM SESSION ONE
Hi Lisa
Can you post your own code here in reply so I can take a look at it for you?
Thank you!!
__________________
Create a welcome packet for new clients with this guide and free templates!

(Available in PDF and Kindle versions)
Reply With Quote
    #3 (permalink)  
Old 03-25-2008
Contributing Member
 
Join Date: Dec 2007
Location: California Central Coast
Posts: 122
Default Re: Tess, Q FROM SESSION ONE
Here it is: I probably don't have something right, but can't "see" it...

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<h1>HTML CSS Session</h1>
<title><h3>Chapter 1</h3>
</head>

<body>
<h5>In chapter one we made our first HTML document and we learned how a web browser interprests HTML code.</h5>

<h5>We also learned how to make a piece of text <strong>bold,</strong><em> italicized</em> or <strong><em>bold and italicized</em></strong> at the same time.<h5>

<h5><em>We also learned that HTML tags can appear within HTML tags.</em><h5>

<h5>In the next session, we are going to learn about more advanced topics such as adding hyperlinks and images to our documents.</h5>

<h5>You practice for this session is to make a page exactly like the one you are reading now </h5>

<h5>Good luck and see you again in two weeks for session two!</h5>
</body>
</html>
__________________
Lisa007
http://www.a1officepro.com
Reply With Quote
    #4 (permalink)  
Old 03-25-2008
Tess's Avatar
Senior Member
Company name: Codehead, LLP
Latest blog post: SEO Q&A
 
Join Date: Apr 2007
Location: Portland, OR
Posts: 9,131
Blog Entries: 3
Default Re: Tess, Q FROM SESSION ONE
Hi again Thanks for the info - I see two things here:

<title><h3>Chapter 1</h3>

Not sure why you have a <title> opening tag here - you'll want to have the title of the page set up between the <head></head> tags and your <h> tags you want to have in the <body></body> section.

<h5><em>We also learned that HTML tags can appear within HTML tags.</em><h5>
Check your closing </h5> tag in the line I copied above - you haven't closed it with /

Try editing those and let me know!
__________________
Create a welcome packet for new clients with this guide and free templates!

(Available in PDF and Kindle versions)
Reply With Quote
    #5 (permalink)  
Old 03-25-2008
Contributing Member
 
Join Date: Dec 2007
Location: California Central Coast
Posts: 122
Default Re: Tess, Q FROM SESSION ONE
Thank you so much. I put the title tag cause I thought it was suppose to be there. I saw it in the template. I went in and made those changes, but it didn't change the bold. It all still looks bold
__________________
Lisa007
http://www.a1officepro.com
Reply With Quote
    #6 (permalink)  
Old 03-25-2008
Tess's Avatar
Senior Member
Company name: Codehead, LLP
Latest blog post: SEO Q&A
 
Join Date: Apr 2007
Location: Portland, OR
Posts: 9,131
Blog Entries: 3
Default Re: Tess, Q FROM SESSION ONE
Oops, Lisa, I didn't really answer your true question before, sorry! Header tags WILL bold your text, so that's why the font is like that - you will want to use <p></p> tags for your paragraphs. That is, you only need to use <h5></h5> *once* - and it shouldn't really encapsulate a paragraph - H TAGS are for headings - so you would want to use them at the start of a paragraph or text section (but perhaps you were using them here just for practice, which is always a good thing! )

I also missed another <h5> tag that is supposed to be closed (</h5>) - take a look at all of your closing <h5></h5> tags (at the end of the sentence) and you'll find the culprit!

And bear in mind, this is a really common mistake, especially when you're just starting out - I STILL forget to close my tags sometimes!

Please check your code again for that last tag I mentioned, try using the <p></p> tags instead of <h5> and then post back here with the corrected version once you've got it. If you need more help just post back!
__________________
Create a welcome packet for new clients with this guide and free templates!

(Available in PDF and Kindle versions)
Reply With Quote
    #7 (permalink)  
Old 03-26-2008
Contributing Member
 
Join Date: Dec 2007
Location: California Central Coast
Posts: 122
Default Re: Tess, Q FROM SESSION ONE
On no problem! I'm just so grateful for your help & support okay not sure what I did..but I think I got it...lol when I entered the <p>'s it took off the bold. that seems funny too me?? why does it do it that way?? I thought it had something to do with entering <strong>??

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<h1>HTML CSS Session</h1>
<h3>Chapter 1</h3>
</head>
<body>
<p>In chapter one we made our first HTML document and we learned how a web browser interprests HTML code.</h5>

<p>We also learned how to make a piece of text <strong>bold, </strong><em> italicized</em> or <strong><em>bold and italicized</em></strong> at the same time.

<p><strong><em>We also learned that HTML tags can appear</strong> within HTML tags.</em>

<p>In the next session, we are going to learn about more advanced topics such as adding hyperlinks and images to our documents.

<p>You practice for this session is to make a page exactly like the one you are reading now

<p>Good luck and see you again in two weeks for session two!</h5></p>
</body>
</html>
__________________
Lisa007
http://www.a1officepro.com
Reply With Quote
    #8 (permalink)  
Old 03-26-2008
Tess's Avatar
Senior Member
Company name: Codehead, LLP
Latest blog post: SEO Q&A
 
Join Date: Apr 2007
Location: Portland, OR
Posts: 9,131
Blog Entries: 3
Default Re: Tess, Q FROM SESSION ONE
Ah, <strong> IS a bold tag, you're right about that - but the <h> tags also have the effect of bolding text - however shouldn't be used for that purpose - they are intended to create 'headings' specifically - I guess you could think of the bolding effect as a fringe benefit

One quick note - you only need one <p> at the start of your paragraph and one </p> tag at the end of your paragraph - otherwise, how did it turn out for you? Did it look the same as the homework?

Great job sticking with it, I know it can feel like a real pain!
__________________
Create a welcome packet for new clients with this guide and free templates!

(Available in PDF and Kindle versions)
Reply With Quote
    #9 (permalink)  
Old 03-28-2008
Contributing Member
 
Join Date: Dec 2007
Location: California Central Coast
Posts: 122
Default Re: Tess, Q FROM SESSION ONE
Oh no wonder. Thank you, that's one thing I'm getting mixed up on is putting the <p> on every line, like the font sizes <4>. I was thinking they are suppose to be on every line, but no they don't. I'm getting it

It turned out right after I made all those changes. Now it matches the homework Yipee!
yeah it is a pain, but "worth" the learning for sure!!
__________________
Lisa007
http://www.a1officepro.com
Reply With Quote
    #10 (permalink)  
Old 03-28-2008
Tess's Avatar
Senior Member
Company name: Codehead, LLP
Latest blog post: SEO Q&A
 
Join Date: Apr 2007
Location: Portland, OR
Posts: 9,131
Blog Entries: 3
Default Re: Tess, Q FROM SESSION ONE
Good job On ot session two!
__________________
Create a welcome packet for new clients with this guide and free templates!

(Available in PDF and Kindle versions)
Reply With Quote
Reply

Thread Tools
Display Modes

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
HTML - THE BASICS Session ONE with Codehead - archive Tess Website Coding 8 04-12-2010 06:15 PM
HTML and CSS The Basics - Session SEVEN - to be announced Tess Website Coding 111 03-02-2010 11:20 PM
HTML - THE BASICS Session THREE with Codehead - archive Tess Website Coding 4 10-24-2008 02:36 PM
HTML - THE BASICS Session TWO with Codehead - archive Tess Website Coding 2 03-25-2008 01:08 AM


All times are GMT -4. The time now is 11:19 AM.

International Virtual Assistants Association
Project Management for Virtual Assistants
Work from Home | Become A Virtual Assistant
Virtual Assistant Directory
Affordable Logo Design
Virtual Assistant Contracts
Virtual Assistant Forums Advertising

© Virtual Assistant Forums 2012
All content and images are protected under copyright law and may not be reproduced in any way without express written consent.