StealthG Posted October 7, 2005 Report Share Posted October 7, 2005 ive been trying to learn html and i just cant quite get the hang of it by the time i want this done. even though its probably like the simplest thing lol. i just want to change the color of some text and it has to be in .html form so i could past it on a web page or something of the sort. I would like the background black. Regular times new roman font size 12. no need to include the ">>>>>" just showing the changes i would like.-----------------------------------Soldier's Creed >>>>>>blue text, underlinedAuthor: unknown >>>>>>white textI am an American Soldier. >>>> red textI am a Warrior and a member of a team. >>>>> all of this blue textI serve the people of the United States and live the Army values.I will always place the mission first.I will never accept defeat.I will never quit.I will never leave a fallen comrade.I am disciplined, physically and mentally tough, trained and proficient in my warrior tasks and drills.I always maintain my arms, my equipment and myself.I am an expert and I am a professional.I stand ready to deploy, engage, and destroy the enemies of the United States of America in close combat.I am a guardian of freedom and the American way of life. >>>>end of blue textI am an American Soldier. >>>>red text--------------------------------------------If anyone could just quickly do this when they have some spare time i would greatly appreciate it. Quote Link to post Share on other sites
Martint Posted October 7, 2005 Report Share Posted October 7, 2005 What so hard about it?If you can't even do this, just GIVE UP on html. I am not being harsh or anything, but this is so simple.I suggest you check outhttp://w3schools.comRemember, no one is stupid, except for the idiots ^_% Quote Link to post Share on other sites
medab1 Posted October 7, 2005 Report Share Posted October 7, 2005 (edited) Find attached SOLDIER.htmlOpen it with Notepad or download it & open it & click "View Source" to see the HTML code.Bold text would probably look better.Blue text is hard for me to read on a black background.*******************************************************ive been trying to learn html and i just cant quite get the hang of it by the time i want this done. even though its probably like the simplest thing lol. i just want to change the color of some text and it has to be in .html form so i could past it on a web page or something of the sort. I would like the background black. Regular times new roman font size 12. no need to include the ">>>>>" just showing the changes i would like.-----------------------------------Soldier's Creed >>>>>>blue text, underlinedAuthor: unknown >>>>>>white textI am an American Soldier. >>>> red textI am a Warrior and a member of a team. >>>>> all of this blue textI serve the people of the United States and live the Army values.I will always place the mission first.I will never accept defeat.I will never quit.I will never leave a fallen comrade.I am disciplined, physically and mentally tough, trained and proficient in my warrior tasks and drills.I always maintain my arms, my equipment and myself.I am an expert and I am a professional.I stand ready to deploy, engage, and destroy the enemies of the United States of America in close combat.I am a guardian of freedom and the American way of life. >>>>end of blue textI am an American Soldier. >>>>red text--------------------------------------------If anyone could just quickly do this when they have some spare time i would greatly appreciate it.<{POST_SNAPBACK}>SOLDIER.html Edited October 7, 2005 by medab1 Quote Link to post Share on other sites
jcl Posted October 7, 2005 Report Share Posted October 7, 2005 (edited) Blue text on a black background is generally difficult to read. Indeed, blue text on any background is generally more difficult to read than other colors because of the details of human color vision. Blue and red in combination (including alternation) is difficult to read because the eye has to change focus when it moves between them (blue-on-red and vice versa can produce a sort of 3D effect -- I'm particularly sensitive to it for whatever reason and it really bothers me). Light text on dark backgrounds, and vice versa, with very high contrast can be difficult to read for people with vision problems and in some lighting conditions. Ditto for red and blue, of course. Many people recommend reserving color for highlighting because color changes tend to attract the eye.You're usually better off with some kind of grayscale. Black-on-white and white-on-black are obvious choices, but combinations of dark and light grays can sometimes be better. The old 'default' of black on medium-gray was pretty reasonable. Edited October 7, 2005 by jcl Quote Link to post Share on other sites
medab1 Posted October 7, 2005 Report Share Posted October 7, 2005 Altered version attached as a zip file.Unzip it & open the folder & open the HTML file.View source & edit & play with it since you are learning HTML.***************************************************ive been trying to learn html and i just cant quite get the hang of it by the time i want this done. even though its probably like the simplest thing lol. i just want to change the color of some text and it has to be in .html form so i could past it on a web page or something of the sort. <{POST_SNAPBACK}>SOLDIER.zip Quote Link to post Share on other sites
StealthG Posted October 7, 2005 Author Report Share Posted October 7, 2005 Thank you so much medab1 its absolutely perfect. Thanx again! Quote Link to post Share on other sites
medab1 Posted October 7, 2005 Report Share Posted October 7, 2005 You are welcome.***************Thank you so much medab1 its absolutely perfect. Thanx again!<{POST_SNAPBACK}> Quote Link to post Share on other sites
DucoNihilum Posted October 8, 2005 Report Share Posted October 8, 2005 This wouldnt happen to be a HTML packet for school that your cheating on, is it? It sounds familiar to something I did a while ago... Quote Link to post Share on other sites
jcl Posted October 8, 2005 Report Share Posted October 8, 2005 (edited) This wouldnt happen to be a HTML packet for school that your cheating on, is it? It sounds familiar to something I did a while ago...<{POST_SNAPBACK}>If the teacher grades on correctness, he's going to learn an important lesson about cheating Edited October 8, 2005 by jcl Quote Link to post Share on other sites
medab1 Posted October 8, 2005 Report Share Posted October 8, 2005 Post a "corrected" version.**********************This wouldnt happen to be a HTML packet for school that your cheating on, is it? It sounds familiar to something I did a while ago...<{POST_SNAPBACK}>If the teacher grades on correctness, he's going to learn an important lesson about cheating <{POST_SNAPBACK}> Quote Link to post Share on other sites
jcl Posted October 8, 2005 Report Share Posted October 8, 2005 (edited) [Edit: Curiosity got the better of me.]Post a "corrected" version.Here. HTML doesn't have the structural elements needed to represent poetry (which this is, at least structurally), so this is quick and dirty, but it validates as XHTML 1.0 Strict.Sanity demands a poetry-oriented XML application for this kind of thing.soldier.html Edited October 8, 2005 by jcl Quote Link to post Share on other sites
medab1 Posted October 8, 2005 Report Share Posted October 8, 2005 You mean like this--<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <style type="text/css"> html { background-color: black; color: blue; font-size: 12pt; font-family: "Times New Roman", serif; } *.red { color: red; } *.white { color: white; } *.ul { text-decoration: underline } </style> <title>Soldier's Creed</title> </head> <body> <p class="ul">Soldier's Creed</p> <p class="white">Author: unknown</p> <p class="red"> I am an American Soldier. </p> <p> I am a Warrior and a member of a team.<br/> I serve the people of the United States and live the Army values. </p> <p> I will always place the mission first.<br/> I will never accept defeat.<br/> I will never quit.<br/> I will never leave a fallen comrade. </p> <p> I am disciplined, physically and mentally tough, trained and proficient in my warrior tasks and drills.<br/> I always maintain my arms, my equipment and myself.<br/> I am an expert and I am a professional. </p> <p> I stand ready to deploy, engage, and destroy the enemies of the United States of America in close combat.<br/> I am a guardian of freedom and the American way of life. </p> <p class="red"> I am an American Soldier. </p> </body></html>I had to rename the .php to .html to view it,which will probably confuse the poster.He wanted .html which I provided.He is a beginner & I used simple HTML.Not perfect & up to strict standards but it works.I know using a blockquote to indent text is not supposed to be used but it works.If I had wanted to be a bit closer to standards I would have posted this---<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd"><HTML><HEAD><TITLE>TITLE HERE</TITLE><META http-equiv=Content-Type content="text/html; charset=windows-1252"><META content="MSHTML 6.00.2900.2722" name=GENERATOR></HEAD><BODY bgColor=black><DIV style="FONT-SIZE: 12pt; FONT-FAMILY: Times New Roman"><BLOCKQUOTE><FONT color=blue><U>Soldier's Creed</U> </FONT> <P><FONT color=white>Author: unknown </FONT> <P><FONT color=red>I am an American Soldier. </FONT> <P><FONT color=blue>I am a Warrior and a member of a team. <BR>I serve the people of the United States and live the Army values. <P>I will always place the mission first. <BR>I will never accept defeat. <BR>I will never quit. <BR>I will never leave a fallen comrade. <P>I am disciplined, physically and mentally tough, trained and proficient in my warrior tasks and drills. <BR>I always maintain my arms, my equipment and myself. <BR>I am an expert and I am a professional. <P>I stand ready to deploy, engage, and destroy the enemies of the United States of America in close combat. <BR>I am a guardian of freedom and the American way of life. </FONT> <P><FONT color=red>I am an American Soldier. </FONT></P></BLOCKQUOTE></DIV></BODY></HTML>Most of the whitespace is gone & simple META tags are added.Of course different users may use a different character set.But Windows will display different sets since they are stored in the operating system.The code above would be hard to read for a beginner.With the code all scrunched up to eliminate unneeded space it is hard to read if you are not familiar with reading code.And he didn't ask for .xml.He asked for .html.Your version works good when viewed as .html.You wrote good code.I did too.For a beginner to look at.I suggested for him to view source & play with it.Another way would be to click "File" & choose "Save As" & choose Webpage Complete.Your computer will usually fix any errors in coding.Usually.Here is a picture of yours & mine side by side---See PictureThey look the same.Poetry is just text.HTML represents text just fine.I think so anyways.********************************************************[Edit: Curiosity got the better of me.]Post a "corrected" version.Here. HTML doesn't have the structural elements needed to represent poetry (which this is, at least structurally), so this is quick and dirty, but it validates as XHTML 1.0 Strict.Sanity demands a poetry-oriented XML application for this kind of thing.<{POST_SNAPBACK}> Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.