Home › Forums › YWN Main Site & Coffee Room Issues › The Laboratory II – Try Your HTML & ASCII Art Experiments Here
Tagged: testing
- This topic has 1,053 replies, 76 voices, and was last updated 9 years, 7 months ago by SayIDidIt™.
-
AuthorPosts
-
February 3, 2009 12:56 am at 12:56 am #1053403squeakParticipant
RoshYeshivah
Member
I don’t think i have a backtick on my phone:-( is there anything else i can use?
Yes. Try using a computer.
February 3, 2009 2:48 am at 2:48 am #1053404qwertyuiopMembersqueak: always with the humor.$ 🙂
February 3, 2009 4:01 am at 4:01 am #1053405qwertyuiopMemberjoseph & asdfghjkl & anybody else concerened: i decided i’m not gonna try, or i’ll try a different time, because the hebrew on my computer can wait, but my friends on the CR will be crying if i leave.$
February 3, 2009 4:12 am at 4:12 am #1053406RoshYeshivahMembersqueak- What’s with you don’t you know a computer is asur?! (that’s in your language).
February 3, 2009 4:36 am at 4:36 am #1053407I can only tryMemberHere’s quick-and-dirty HTML that you can use to test your simple code.
Cut and paste everything below, and save it as file “Tester.htm” on your computer’s desktop.
You can then use it to try simple experiments (fonts, URLs, colors, etc.)
<html>
<head>
<title>HTML Tester</title>
<SCRIPT LANGUAGE="JavaScript">
function showhtml(){
/* alert(form1.htmlcode.value);
div1.style.borderWidth='44px'; */
div1.innerHTML = form1.htmlcode.value;
}
</SCRIPT>
</head>
<body>
<form id=form1>
<p>Enter some HTML code here, then click DISPLAY to see it rendered
<br />
<input type="button" value=" DISPLAY " onClick="showhtml()">
<br />
<textarea name="htmlcode" rows=12 cols=100>
<blockquote> this is a blockquote </blockquote>
<a href=http://www.theyeshivaworld.com/coffeeroom/topic/the-laboratory-try-your-html-formatting-experiments-here>Original HTML Lab</a>
<br />
<br />
<font face="courier new", color="red"><U>Red Underlined Text<U></font>
<br />
<ul>
<li Type="Square">red
<li Type="Circle">orange
<li Type="Disc">yellow
</ul>
<ol>
<li>red
<li>orange
<li>yellow
</ol>
</textarea><br />
</form>
<p>
<font face="times new roman" size="6">Your results below:</font>
<DIV ID=div1 style="border: blue 4px double;"> Your results will appear here
</DIV>
</body>
</html>February 3, 2009 4:45 am at 4:45 am #1053408qwertyuiopMemberMODS: never mind my last post, this one’s instead.$
ICOT: it was all going good, till i got up to:
Double-click on the one called sourcepath
i don’t know what the one called sourcepath is.$
February 3, 2009 5:38 am at 5:38 am #1053409qwertyuiopMemberon IE, the whole page is messed up, and ICOT, i don’t thnk anybody understood your last post.$
February 3, 2009 5:41 am at 5:41 am #1053410I can only tryMemberqwertyuiop-
That’s a registry entry.
It appears on the right-hand window of the regedit application, under the “Name” column.
I’m getting a little concerned – if you can’t find this easily, or find the instructions difficult or confusing, it may be time to back off and get help.
February 3, 2009 5:48 am at 5:48 am #1053411teenMemberICOT: im not rly sure what most of that stuff means lol but where exactly do we test the code i mean how what program am i supposed to be using?
February 3, 2009 6:05 am at 6:05 am #1053412I can only tryMemberThe HTML that I wrote posted here with some odd substitutions, but it works in both IE and Firefox, so I guess that’s what matters.
One difference I noticed is that the “Type” attributes of the bullet points in the unordered list (UL) work fine in Firefox, but are ignored in IE.
I’m sure there are pros reading this who are probably rolling their eyes and/or snickering at my efforts – please feel free to jump in with suggestions for improvement, and constructive criticism.
February 3, 2009 6:14 am at 6:14 am #1053413I can only tryMemberqwertyuiop-
teen-
The special characters I used to replace the less-than sign (<) and the greater-than sign (>) in my sample code were sometimes replaced, and sometimes not on my post.
It may be simpler to just remove my sample code, starting from “<blockquote” and ending at “/ol>”. You can then insert your own code and click on the “DISPLAY” button.
If you save the file with a .htm extention, double-clicking on it will cause your default browser to open it.
February 3, 2009 6:14 am at 6:14 am #1053414asdfghjklParticipantqwertyuiop: yay ya aint ganna leave us!!!
February 3, 2009 6:21 am at 6:21 am #1053415qwertyuiopMemberICOT: don’t worry, if i made it that far, i could make it all the way, and thanx i’ll let you know how it went.$
February 3, 2009 6:23 am at 6:23 am #1053416qwertyuiopMemberICOT: i don’t get your code thingy.$
February 3, 2009 6:32 am at 6:32 am #1053417teenMemberICOT: wow i am completly lost…i am just realizing how little i really know…i can even figure out how to my dwesktop….and what do you mean to enter our code there?
one more thing what is the code at the top and bottom:
<html>
<head>
<title>HTML Tester</title>
and
</body>
</html>
oh yeh one more lol: how do u put up the code without it dissapearing?
February 3, 2009 6:45 am at 6:45 am #1053418RoshYeshivahMember<title>hello</title>
February 3, 2009 6:57 am at 6:57 am #1053419asdfghjklParticipantRoshYeshivah: the lights are on, but no ones home!!!!
February 3, 2009 6:58 am at 6:58 am #1053420moish01Member<font face=”courier new”, color=”red”><U>Red Underlined Text<U></font>
February 3, 2009 7:19 am at 7:19 am #1053421teenMembermoish01: y didnt that work? does YWN not allow true html or something?
February 3, 2009 8:42 am at 8:42 am #1053422qwertyuiopMemberICOT: you said
Then open Windows Explorer to C:Windows and see if there is an I386 folder here. You should also see on that is called ServicePackFiles if you have installed either SP1 or SP2. If they are in these locations, continue on. If not, you need to determine where they are before proceeding.
windows exploreris what??$ and i skipped that, i did everything else, and when i want to download it, it showed the file and when i pressed “ok” it didn’t go.$(does it have anything to do with capitaliczing letters or something else.$) thanx for the help.$
February 3, 2009 12:52 pm at 12:52 pm #1053423I can only tryMemberqwertyuiop-
teen-
RoshYeshivah-
moish01-
The long HML code block posted above needs to be copied and saved as a file with a .htm extension and then opened with a browser.
Cutting and pasting snippets in a cofferoom thread will not work, since most tags (such as font and color) are deliberately bypassed.
qwertyuiop (re: Hebrew language)-
Sorry, that was a typo.
“You should also see one (subdirectory) that is called ServicePackFiles if you have installed either SP1 or SP2.”
I’m not sure what you mean by “downloading”, since this method will hopefully avoid downloading anything by pointing your system to the location where the necessary files exist.
February 3, 2009 1:15 pm at 1:15 pm #1053424teenMemberICOT: i have saved it onmy desktop and opened it in a web browser….now what all i see is the code in a gray box…what do i do next?
February 3, 2009 1:55 pm at 1:55 pm #1053425squeakParticipantRY – no, in my book it is your PHONE that is asur!
February 3, 2009 2:55 pm at 2:55 pm #1053426RoshYeshivahMemberdoes that mean that only what’s on the bottom of the page will work-a blockquote code etc… ?
February 3, 2009 3:18 pm at 3:18 pm #1053427RoshYeshivahMember
- - - - - -
let’s see if this works.February 3, 2009 3:34 pm at 3:34 pm #1053428teenMemberry: whats that supposed to b?
February 3, 2009 3:43 pm at 3:43 pm #1053429RoshYeshivahMembersqueak- As far as isurim isn’t your computer a BIGGERisur than my phone?!
February 3, 2009 5:06 pm at 5:06 pm #1053430teenMember- ME
<il>I
<il>AM
<il>THE
<il>BEST
February 3, 2009 7:53 pm at 7:53 pm #1053432RoshYeshivahMemberteen i was trying to make a highway the dotted line was supposed to go in between the other two lines but since i don’t have backsticks i used code before and after and obviously it doesn’t work properly:-( maybe icot can help me is there anything else i can use before and after a drawing?
February 3, 2009 7:57 pm at 7:57 pm #1053433teenMembermoish01: yeh i no hah but i wa bored lol
ry: oh
February 3, 2009 7:57 pm at 7:57 pm #1053434moish01Memberhey sorry about that.
it’s “li”
February 3, 2009 7:58 pm at 7:58 pm #1053435squeakParticipantmoish – thanks for making sure that this page of this thread will be as messed up as the previous one.
RY – the eitzah for you is to use
. <code>
. instead.February 3, 2009 8:06 pm at 8:06 pm #1053436teenMemberdoes anyone know y th il showed up?
February 4, 2009 12:58 am at 12:58 am #1053437I can only tryMemberteen-
“…i am completly lost…i am just realizing how little i really know..”
The concept is actually pretty simple. You put a tag at the beginning of some text, telling the browser how you want it displayed (e.g. green), and then a closing tag at the end to delimit where you want the font, color, URL, etc. to stop.
“i have saved it on my desktop and opened it in a web browser….now what all i see is the code in a gray box…what do i do next?”
– I’m not sure what the problem is, since I am able to open it in Firefox, IE6 and IE8 on two different machines. Is it possible your browser has scripting turned off, or you are getting a security warning due to the JavaScript function in the code?
RoshYeshivah-
“does that mean that only what’s on the bottom of the page will work-a blockquote code etc… ?”
– Yes, exactly.
The code I pasted on the prior page for cut-and-pasting to create a test HTML page is a little odd because of some substitutions I assume the site software did.
It also has atleast one syntax error on my part – the second
<U>
tag should actually be a closing</U>
.None of the things are stopping it from working as I expected it to.
Did anyone else try it? What were your results?
February 4, 2009 1:11 am at 1:11 am #1053438qwertyuiopMemberICOT: it shows C:Windows/i386, but it doesn’t go, nd if i click browse, it says it’s looking for a certain file.$
February 4, 2009 1:13 am at 1:13 am #1053439I can only tryMemberA few suggestions for those who are interested in HTML formatting and the like:
-Google “HTML tester” or similar phrases. There are several sites where you can try out your code.
-Consider buying “HTML for Dummies” (I’m not sure that that’s the exact title). I’ve bought “Dummies” books on various topics for myself and others over the years, and they’re great for beginners – not dry and boring, very informative, and simple to understand.
-It’s not rocket science. It’s not even bottle-rocket science. Don’t be intimidated or think it’s too difficult. Remember – all you are doing is telling the browser “make this line red, that one blue, and the other one blink” and so forth.
February 4, 2009 1:26 am at 1:26 am #1053440RoshYeshivahMemberteen- did you put ul before and after? squeak do you mean code before and /code after? I tried the above already it only worked halfway.
February 4, 2009 3:18 am at 3:18 am #1053441asdfghjklParticipantthis page is so messed up!!!
February 4, 2009 3:27 am at 3:27 am #1053442qwertyuiopMemberi hate this page, anyway to get it fixed??$
February 4, 2009 3:37 am at 3:37 am #1053443asdfghjklParticipantqwertyuiop: yeah it needs some work done on it!!!
February 4, 2009 5:06 am at 5:06 am #1053444qwertyuiopMemberasdfghjkl: i thought oof an idea, we keep posting until this gets to the next page.$ 🙂
February 4, 2009 5:34 am at 5:34 am #1053445asdfghjklParticipantqwertyuiop: great idea!!! it looks much better now the page though!!!
February 4, 2009 5:38 am at 5:38 am #1053446qwertyuiopMember<p style=”color:orange;”>does this work??$</p>
February 4, 2009 5:58 am at 5:58 am #1053447qwertyuiopMemberok, i guess it didn’t.$
asdfghjkl: page7 got really messed up, the “send post”button was seperated from the posting box.$
February 4, 2009 6:03 am at 6:03 am #1053448asdfghjklParticipantqwertyuiop: yeah it looked real bad the page!!! the cr lab is so much fun!!!!!!!
February 4, 2009 6:13 am at 6:13 am #1053449qwertyuiopMemberasdfghjkl: yeah, i know.$
February 4, 2009 6:21 am at 6:21 am #1053450asdfghjklParticipantqwertyuiop: yup yup!!!
February 4, 2009 6:38 am at 6:38 am #1053451qwertyuiopMemberi'm testing the codes now.$
February 4, 2009 6:48 am at 6:48 am #1053452asdfghjklParticipantqwertyuiop: fun fun!!!!!
February 4, 2009 10:29 am at 10:29 am #1053453I can only tryMemberqwertyuiop-
I’m not sure what you mean.
Are both the “i386” and “ServicePackFiles” subdirectories under the Windows directory?
If the answer is yes, and you performed the regedit updates, I’m afraid I’m out of ideas (sorry).
If your computer was here, I’d try a couple of other things, like looking at the contents of the “lang” subdirectories (both under the windowsi386 and windowsservicepackfilesi386 subdirectories) and comparing them to my computer’s, but it would be guesswork.
Is your computer a laptop? If so, can you bring it to work or school where the resident techie can take a look?
-
AuthorPosts
- You must be logged in to reply to this topic.