Jump to content

questions


corey8084

Recommended Posts

I have looked and could not find a topic just for general questions about html/xhtml so I decided to start one.1: I wanted to do a coding for a website of mine so today I went to yahoo and searched for html's the w3schools.com site came up as a top suggestion. I started to learn and I'm getting prtty good but I have 1 major problem, how do I change the color of my text? I looked on the help catagories on the w3schools home page but couldn't find it. I looked at some of the other topics and realized I know nothing about this coding thing lol, I am trying to learn though. so if some one would please tell me how to change text color, it would be appreciated.2: what is rss and why does it show up at the bottom of my browser from time to time?3: when is the xhtml thing expected or has it allready come around? I read on the site that it was the next generation or something.4: and why when I load my site (the html I'm working on) it says \par \par \par }. if needed I can send the full code. if any one would answer these questions I would be eternaly thankfull.corey

Link to comment
Share on other sites

You should use CSS to change the colors of your text, backgrounds and a lot more you'll learn in the process.XHTML is correctly the next generation HTML. Read the XHTML tutorial (right under the HTML one) to see the differences between it and HTML. They are not that many, so if you know HTML, XHTML won't be much trouble. There are some more "mysteries" to it you'll come to see, but that's for another time.And for your "par" problem. Yes, the full code would be needed.

Link to comment
Share on other sites

You should use CSS to change the colors of your text, backgrounds and a lot more you'll learn in the process.XHTML is correctly the next generation HTML. Read the XHTML tutorial (right under the HTML one) to see the differences between it and HTML. They are not that many, so if you know HTML, XHTML won't be much trouble. There are some more "mysteries" to it you'll come to see, but that's for another time.And for your "par" problem. Yes, the full code would be needed.

<html>http://www.zorpia.com/corey8084<head><title>my little html coding project</title></head><body><pre><hr><h3 align="center"><c><tcolor= white> I'm getting good</c></h3><br><b><p> and this is me making a paragraph</p></b><sup>this is soooo cool </sup> <p><b> <h1 align="right">this is my own custom html, I have worked hard on it and it is still incomplete</b></p><p> learned somethingvery cool, I can keep as many spaces that I want in between words like this cool aye?</pre></p></body></html>it is sloppy I know but I am just recently learning how to do this
Link to comment
Share on other sites

lol I realy don't remember where I got the <c> from but it was there I am sure of it lol I like still don't realy know how to change the color of my text nor do I understand why sometimes there is an RSS thing at the bottom of my browser screen.

Link to comment
Share on other sites

ok I have a new delema, I am trying to add an image as a link and I put the name in and all but all that shows is the border, the demensions are right but no image.<html><head><title>my little html coding project</title></head><body><pre><hr><h3 align="center"><css= white> I'm getting good</h3><br><b><p> and this is me making a paragraph</p></b><sup>this is soooo cool </sup> <p><b> <h1 align="right">this is my own custom html, I have worked hard on it and it is still incomplete</b></p><p> learned somethingvery cool, I can keep as many spaces that I want in between words like this cool aye?</pre></p> <p><a href="http://www.xanga.com/corey8084"> my site</a></body></html>that is the new coding I have in there.

Link to comment
Share on other sites

Where is your code for the image, i never saw any :) , you add an image as normal then cover it in an anchor tag like so

<a href="http://www.google.com"><img src="http://www.google.com/logos/worldcup06.gif" style="border:none" /></a>

Also the code you pasted needs so updating.Plus is see you have added <css= white> :) Where are you finding these weird tags?

Edited by scott100
Link to comment
Share on other sites

You should use CSS to change the colors of your text, backgrounds and a lot more you'll learn in the process.XHTML is correctly the next generation HTML. Read the XHTML tutorial (right under the HTML one) to see the differences between it and HTML. They are not that many, so if you know HTML, XHTML won't be much trouble. There are some more "mysteries" to it you'll come to see, but that's for another time.And for your "par" problem. Yes, the full code would be needed.

I am so newbish at this stuff I took the "You should use CSS to change the colors..." literally lol that is where the css came from, I don't know where the <c> came from
Link to comment
Share on other sites

I am so newbish at this stuff I took the "You should use CSS to change the colors..." literally lol that is where the css came from, I don't know where the <c> came from

Ah right i see, that makes sence :) CSS is the language, not the tag, so to do what you want it would look like
<h3 style="text-align:center;color:white">I'm getting good</h3>

Do you understand now?

Link to comment
Share on other sites

ok, here is the code so far, thank you so much for helping me out with this, the way someof the stuff on the site was reading was just getting me lost lol.

<html><head><title>my little html coding project</title></head><body bgcolor="red"><h3 style="text-align:center;color:white">I'm getting good</h3><!----header----><b><p> and this is me making a paragraph</p></b><!----first paragraph line----><sup>this is soooo cool </sup><!---supertext----><p><b> <h1 align="right">this is my own custom html, I have worked hard on it and it is still incomplete</b></p><!----aligning the text----><pre><p> learned somethingvery cool, I can keep as many spaces that I want in between words like this      cool aye?</p></pre><!----learned the pre thing----><a href="http://www.xanga.com/corey8084"><img src="http://media.livedigital.com/pictures/25/86/2586223037e9fb7978025466f78e845f_rs.jpg" style="border:none"/></a><!----attempted link----></body></html>

edit: wow I guessed on how to get this code box to work lol I'm getting pretty good I think... lol

Link to comment
Share on other sites

This is about right, coloured the changes in red and deleted some tags that weren't needed.What are you using to code your pages? notepad? if so you might find another editor more useful, like one with syntax highlighting<html><head><title>my little html coding project</title></head><body style="background-color:red"><h3 style="text-align:center;color:white">I'm getting good</h3><!----header----><p><b> and this is me making a paragraph</b></p> <!----first paragraph line----><sup>this is soooo cool </sup><!---supertext----><h1 style="text-align:right">this is my own custom html, I have worked hard on it and it is still incomplete</h1><!----aligning the text----><pre>learned somethingvery cool, I can keep as many spaces that I want in between words like this cool aye?</pre><!----learned the pre thing----><a href="http://www.xanga.com/corey8084"><img src="http://media.livedigital.com/pictures/25/86/2586223037e9fb7978025466f78e845f_rs.jpg" style="border:none"/></a><!----attempted link----></body></html>

Link to comment
Share on other sites

ok this is what I have done so far, I havn't made the changes that you suggested yet though but this has all the text changed:

<html><head><title>my little html coding project</title></head><body bgcolor="red"><h1 style="text-align:center;color:white">this is the start of something great</h1><!----header----><h4 style="text-align:left;color:white"><b><p><pre>    and this is me making a paragraph</pre></p></b></h4><!----first paragraph line----><h6 style="text-align:left;color:white"><sup>this is soooo cool </sup></h6><!---supertext----><p><b> <h1 style="text-align:right;color:white">this is my own custom html, I have worked hard on it and it is still incomplete</b></p></h1><!----aligning the text----><h5 style="text-align:left;color:white"><pre><p> learned something very cool, I can keep as many spaces that I want in between words like this      cool aye?<p></pre></h5><!----learned the pre thing----><a href="http://www.xanga.com/corey8084"><img src="http://media.livedigital.com/pictures/25/86/2586223037e9fb7978025466f78e845f_rs.jpg" style="border:none"/></a><!----attempted link----></body></html>

btw, I am using wordpad for all this.

Link to comment
Share on other sites

<html><head><title>my little html coding project</title></head><body bgcolor="red"><h1 style="text-align:center;color:white">this is the start of something great</h1><!----header----><h4 style="text-align:left;color:white"><b><p><pre>    and this is me making a paragraph</pre></p></b></h4><!----first paragraph line----><h6 style="text-align:left;color:white"><sup>this is soooo cool </sup></h6><!---supertext----><p><b> <h1 style="text-align:right;color:white">this is my own custom html, I have worked hard on it and it is still incomplete</b></p></h1><!----aligning the text----><h5 style="text-align:left;color:white"><pre><p> learned something very cool, I can keep as many spaces that I want in between words like this      cool aye?<p></pre></h5><!----learned the pre thing----><a href="http://www.xanga.com/corey8084"><img src="http://media.livedigital.com/pictures/25/86/2586223037e9fb7978025466f78e845f_rs.jpg" style="border:none"/></a><!----attempted link----></body></html>

this is after the changes

Link to comment
Share on other sites

Yeah it look ok apart from the <body> tag and this line:The tags aren't properly nested here though.

<p><b> <h1 style="text-align:right;color:white">this is my own custom html, I have worked hard on it and it is still incomplete</b></p></h1>

You have<p><b><h1></b></p></h1> which is incorrect<p><b><h1></h1></b></p> is correct (i think you may have just overlooked this one occurence though)I wouldn't even bother with the <p> and <b> tags, <h1> is enough on this occasion because the header tags default style is to bolden text within them and set line breaks. If you remove the <p> and <b> i don't think you will see much difference.If you understand how this works now you should look at the tutorials for styling elements from the head.

Link to comment
Share on other sites

lol ok thx for your help, thx to you I will be able to show off my skills, next thing I learn (after I master html if that ever happens) is animation, that looks cool, who knows I may someday make some money with it. I'm sorry for the trouble though, only being 15 and never realy paid attention to coding, it was like a baby jumping off the high dive lol but you walked me through it and I am greatly appreciative. thank you.

Link to comment
Share on other sites

For starters, add a whitespace between the h1 and style attribute:

<h4 style="text-align:left;color;blue>

Oh and btw, I don't think you should use lists in headers (h1 to h6). Simply bold your li's if that's the effect you're looking for. Or should I say that you look into the CSS tutorial for more details. Excluding your "taking everything litterly" problem, you're on a good enough level to start learning CSS (at least I hope so). You'll need it too if you want to "master" HTML.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...