Discussion :  SOU CS Classes The fastest message board... ever.
Forum for discussion, questions, and replies relating to Web Development I 
Goto Thread: PreviousNext
Goto: Forum ListMessage ListNew TopicSearchLog In
Week 1 - Friday Discussion
Posted by: harveyd (IP Logged)
Date: September 28, 2007 04:28PM

1.What is wrong with the following HTML (each item counts as a separate question, only answer at most two of these)?
i. <title>This is a title<title>
ii. <b>this text is bolded<b/>
iii. <strong This text is strongly emphasized>
iv. <em>Most browsers italicize this</em
v. <h1>Header 1<h2>Header2</h1></h2>
vi. <h1 align=”right>this goes to the right</h2>
vii. <B><I>bold and italics</b></i>
viii. <big><bigger>two sizes larger</bigger></big>
ix. <header>This is a header</header>
x. <h1 = "right">align to the right</h1>
xi. <h2 align=left>align to the left</h2>
xii. <h3 align-“right”>align right</h1>
xiii. <h1 = "right>align to the right</h1>
xiv. <h1>first line
skip to next line</h1>
xv. <p><p><p>skip down three lines</p></p></p>
xvi. <head><h1>header</h1></head>

2. Why is the <font> tag deprecated?
3. What is wrong with using the <ul> tag?
4. How do you create a horizontal line?
5. How do you change the width of a horizontal line?
6. What is a good discussion topic for future classes?
7. What would be a good lab project?
8. Find and install a free HTML editor that is downloadable (other than PsPad and Notepad++).
What features does it have that you like?
9. Create a test question that you think would be good to add to either the on-line lecture, for a synthesis question, or for a quiz. Answer your question.
10. What suggestions do you have for the on-line lectures, lab projects, power point slides, etc.?
11. What mistakes did you find in the on-line material?

Re: Week 1 - Friday Discussion
Posted by: (IP Logged)
Date: September 28, 2007 04:57PM

xii. <h3 align-“right”>align right</h1>
The first problem is the different heading sizes used in the opening and closing tags. The opening tag uses h3 and the closing tag uses h1 resulting in the browser most likely interpreting all the following text as an extension of the h3 tag because it hasn't been closed. The second problem is the use of the minus (-) sign. A web browser would not know how to interpret this. Proper code usage would be the usage of the equals (=) sign. Thus the ultimate version of the tag would become:
<h3 align="right">align right</h3> or alternatively <h1 align="right">align right</h1>

xiv. <h1>first line
skip to next line</h1>
A web browser does not process a return used in the text editor as a skip to the next line. Any number of spaces between letters is still interpreted by the browser as one space. The way to move text down to the next line in this instance is the use of the break (<br>) tag:
<h1>first line<br>
skip to the next line</h1>

Re: Week 1 - Friday Discussion
Posted by: (IP Logged)
Date: September 28, 2007 06:34PM

i. <title>This is a title<title> ANS: this needs to be </title>
ii. <b>this text is bolded<b/> ANS: this needs to be</b>
iii. <strong This text is strongly emphasized> ANS: <strong>This text....</strong>
iv. <em>Most browsers italicize this</em ANS: </em>
v. <h1>Header 1<h2>Header2</h1></h2> ANS: <h1>Header 1</h1><h2>header2</h2>

Sorry I got carried away.. Hope that answering more is not going to cause a problem, and that there is no penalty involved.
Lori Brown.



Edited 1 time(s). Last edit at 09/28/2007 06:35PM by brownlo.

Re: Week 1 - Friday Discussion
Posted by: (IP Logged)
Date: September 29, 2007 04:54AM

vi. <h1 align=”right>this goes to the right</h2> h1 and h2 cannot be used together. "right" needs to have two quotations <h1 alighn="right">

vii. <B><I>bold and italics</b></i> Both <B> & <I> should not be capitalized; also one of the two tags needs to be nested; either <b> needs to be nested within <i> or <i> needs to be nested within <b>.

4. to create a horizontal line, you use <hr />

Re: Week 1 - Friday Discussion
Posted by: (IP Logged)
Date: September 29, 2007 08:13PM

x. The tag reads: <h1 = "right">align to the right</h1> . The tag is missing the attribute titled "align". For this tag to work properly, it should read: <h1 align="right">align to the right</h1>.
xi. For this tag to be correct one must include quotation mark in the tag. It reads:<h2 align=left>align to the left</h2>. What it should say is <h2 align="left">align to the left</h2>.

Re: Week 1 - Friday Discussion
Posted by: (IP Logged)
Date: September 30, 2007 04:16AM

viii. <big><bigger>two sizes larger</bigger></big>
Should be: <big><big>two sizes larger</big></big>
ix. <header>This is a header</header>
Should be: <head>This is a header</head>

Re: Week 1 - Friday Discussion
Posted by: (IP Logged)
Date: September 30, 2007 04:24AM

4. How do you create a horizontal line?
<hr>
5. How do you change the width of a horizontal line?
<hr width="50%">

Re: Week 1 - Friday Discussion
Posted by: (IP Logged)
Date: September 30, 2007 04:49AM

7. What would be a good lab project?

A group project. Each student creates a different web page or web pages with different technologies (frames, tables ...) and one person is ersponsible for creating 'index.html' as well as the CSS. This will give us experience in using a consistent look and feel across all memebers of a team.

Re: Week 1 - Friday Discussion
Posted by: (IP Logged)
Date: September 30, 2007 08:53PM

xiii. <h1 = "right>align to the right</h1>

This tag is missing the word align between h1 and =. It is also missing the end quotation mark after the word right.

Corrected is: <h1 align="right">align to the right</h1>

7. What would be a good lab project?

I think that a good lab project would be adding moving text or moving pictures to a web page.

Note from Dan: We'll get to that feature later in the class. Good thought though.



Edited 1 time(s). Last edit at 10/01/2007 02:51PM by harveyd.

Re: Week 1 - Friday Discussion
Posted by: (IP Logged)
Date: October 01, 2007 04:30AM

1.
vii. <B><I>bold and italics</b></i>

In XHTML coding is case sensitive. Though this might work in some browsers it is not considered valid code by the W3C.

xv. <p><p><p>skip down three lines</p></p></p>

The paragraph or <p> tag must be closed before opening another one in order to achieve the desired effect. In order for this code to be valid it would need to look something like this:

<p>skip down three lines</p>
<p></p>
<p></p>

Note from Dan: The <br /> tag is needed because browsers only respond to the first paragraph tag.

10. What suggestions do you have for the on-line lectures, lab projects, power point slides, etc.?

I personally do not absorb the information contained in video lectures nearly as easily as online text, or lectures given in person. So I prefer to either read or attend, and pay attention to the in class lecture.

I personally would enjoy a collaborative lab including either teams, or the whole class; to complete a large scale project such as a large web site or specialized web software.

I personally would like the ability to download either the .pps or .ppt files themselves as they are easier to view from within PowerPoint.

Note from Dan: Remind me by e-mail, and I'll send you the .ppt files.



Edited 1 time(s). Last edit at 10/01/2007 02:55PM by harveyd.

Re: Week 1 - Friday Discussion
Posted by: (IP Logged)
Date: October 01, 2007 06:49PM

viii. <big><bigger>two sizes larger</bigger></big>... you do not need to write "bigger" to make something larger. It is only necessary to write <big><big>.

3. The problem with using <ul> tag is that people will assume it is a link if it is underlined and always be trying to click on it.

Jessica Urton

Re: Week 1 - Friday Discussion
Posted by: (IP Logged)
Date: October 01, 2007 08:52PM

xvi. <head><h1>header</h1></head>

Information within the <head> tags is not shown in the web page (i.e., <title> and <meta> tags). That being the case, a header would need to appear within the <body> tags for it to be shown on the web page:

<head>
<title>blah</title>
</head>

<body>
<h1>header</h1>
</body>

Amber Cortez

Re: Week 1 - Friday Discussion
Posted by: (IP Logged)
Date: October 01, 2007 08:57PM

11. What mistakes did you find in the on-line material?

I found a grammatical error in lab 1; it is written:

"Our long term goals IS to develop software and tools that will be helpful to many Native groups both nationally and internationally."

It should be:

"Our long term goals ARE to develop software and tools that will be helpful to many Native groups both nationally and internationally."

So far, that's the only one I've spotted... besides the one I brought up in class last Tuesday. :)

Amber Cortez

Re: Week 1 - Friday Discussion
Posted by: (IP Logged)
Date: October 01, 2007 09:02PM

11. What mistakes did you find in the on-line material?

I think I just found another one in the "Wednesday Discussion" forum. This is one of Dan's questions:

"13.Tell us why the standard deprecated tags one of the tags in that category."

I am not sure what that is asking exactly... could very well be that I've been staring at my monitor far too long, but it's not making sense to me... :)

Amber Cortez

Re: Week 1 - Friday Discussion
Posted by: (IP Logged)
Date: October 01, 2007 09:26PM

7. What would be a good lab project?

I like to work alone or in smaller groups, 2 or 3 people at the most, depending on the scale of the project. This way I feel like I contribute more work to the project, instead of being in charge of just one little piece of the puzzle. This way I know I've gotten well-rounded knowledge of the subject instead of just knowing part of it really well, and not being 100% on the rest. Also, when you have larger groups there is also potential for slackers... which really sucks on those larger projects. A good stag project would be to maybe create an index.html with some css on a topic chosen either by the prof or by the student.

All that being said, I do work well either way, it's just that I prefer to be in charge of my own grade. :)

Amber Cortez

Re: Week 1 - Friday Discussion
Posted by: (IP Logged)
Date: October 03, 2007 01:00AM

4. How do you create a horizontal line?

You create a horizontal line by using the tag <hr>.

Re: Week 1 - Friday Discussion
Posted by: (IP Logged)
Date: October 05, 2007 10:28PM

iv. <em>Most browsers italicize this</em

Should be

<em>Most browsers italicize this</em>

vi. <h1 align=”right>this goes to the right</h2>

It should be

<h1 align="right">this goes to the right</h1>


2. Why is the <font> tag deprecated?

Because <font> is presentation element. Many browsers that are in strict compliance with the new standard will not support their use. The W3C's primary motivation behind deprecating certain elements is the need to separate structure from presentation. Many HTML elements that were used primarily for presentation were deprecated.

Re: Week 1 - Friday Discussion
Posted by: (IP Logged)
Date: October 10, 2007 12:20AM

CS210 Discussion Questions – WK 1 Friday
James Hart


1.What is wrong with the following HTML (each item counts as a separate question, only answer at most two of these)?
i. <title>This is a title<title>
This should be written <title>This is a title</title>

ii. <b>this text is bolded<b/>
This should be written <b>this text is bolded</b>
Of course, instead of using a presentation tag like <b>, we should use the structure tag of <strong>.
So, this could be written <strong>this text is bolded</strong>

2. Why is the <font> tag deprecated?
<font> is a tag that has been “updated” to more functional alternate tags. Therefore, it is considered deprecated by the W3C. Eventually the deprecated tags will become obsolete and may not be supported in the future.

Note from Dan: css is the right way to change fonts now.

3. What is wrong with using the <ul> tag?
Using the <ul> tag can be confusing to the end user. They may confuse it as a hyperlink.

4. How do you create a horizontal line?
A horizontal line can be created using the <hr /> tag.

7. What would be a good lab project?
A good lab project would be creating a website together as a team. Each team will be given a particular portion of the project to complete. When everything is done, the individual team projects will be combined to create an entire class project website. There will have to be some theme coordination between the different teams so the end website will flow well together.



Edited 1 time(s). Last edit at 10/10/2007 03:09PM by harveyd.

Re: Week 1 - Friday Discussion
Posted by: (IP Logged)
Date: October 14, 2007 05:46AM

i. <title>This is a title<title>

- it should be appear like this
<title>This is a title</title>
We have to close it by the (/).


4. How do you create a horizontal line?

- with the tag <hr/>



Edited 1 time(s). Last edit at 10/14/2007 06:51PM by alshabanm.

Re: Week 1 - Friday Discussion
Posted by: (IP Logged)
Date: November 18, 2007 10:41PM

1.
i. The title tag was not closed properly. It should be closed using
the following: </title>
ii.This bold tag was closed inproperly as well. It should be closed
with the slash on following the first bracket: </b>

2. The W3C is planning on removing support for this tag to replace it with
CSS to meet the goal of seperating presentation tags from structure tags

4. You create a horizontal line using the following tag: <hr/>

Re: Week 1 - Friday Discussion
Posted by: (IP Logged)
Date: January 16, 2008 06:32PM

i. <title>this is a title<title> is incorrect because the tag is not closed.

correct: <title>this is a title</title>

xi. <h2 align=left>align to the left</h2> is missing the quotations around left

correct: <h2 align="left">align to the left</h2>

Re: Week 1 - Friday Discussion
Posted by: (IP Logged)
Date: May 07, 2010 11:20AM

>4. How do you create a horizontal line?
>
>- with the tag <hr/>

You need to use a space inside hr tag <hr[space]/>

---
thick yoga mat | yoga shoes



Sorry, only registered users may post in this forum.
This forum powered by Phorum.