home *** CD-ROM | disk | FTP | other *** search
/ Mac Power 1997 January / macpower199701.bin / AMUG / Internet_24 / HTML Resource 1.0.sit / HTML Resource v.1.0.rsrc / TEXT_131.txt < prev    next >
Encoding:
Text File  |  1996-07-30  |  8.4 KB  |  443 lines

  1.  
  2. ツ 
  3.  
  4.  
  5. ツ 
  6.  
  7.  
  8.  
  9. ツ ツ ツ 
  10.  
  11. ツ ツ ツ 
  12.  
  13.  
  14.  
  15.             ツ Click this button to open your browser.  Once it is open, return to the guide and click the 
  16.                 "On The Web" buttons to see how the coding actually looks within your browser.
  17.  
  18.  
  19.  
  20. General
  21.  
  22. <HTML>...</HTML>
  23.  
  24. <HTML>
  25. <HEAD>
  26. <TITLE>Sam窶冱 ClassRoom Home Page</TITLE>
  27. t<H1>Welcome to my world</H1>
  28. </HEAD>
  29. <BODY>
  30. This is the content of my web page.      
  31. </BODY>
  32. </HTML> 
  33.  
  34.  
  35. <HEAD>...</HEAD>
  36.  
  37. <HEAD>
  38. <TITLE>Sam窶冱 ClassRoom Home Page</TITLE>
  39. </HEAD>
  40.  
  41.  
  42. <TITLE>...</TITLE>
  43.  
  44. <TITLE>Sam窶冱 ClassRoom Home Page</TITLE>
  45.  
  46.  
  47. <BODY>...</BODY> 
  48.  
  49. <BODY>
  50. This is the content of my web page.      
  51. </BODY>
  52.  
  53.  
  54. Formatting
  55.  
  56. ツ 
  57. <B>...</B>  Bold
  58.  
  59. <B>This text is bolded</B>
  60.  
  61. ツ 
  62. <I>...</I>  Italics
  63.  
  64. <I>This text is in italics</I>
  65.  
  66. ツ 
  67. <TT>...</TT>  Typewriter Text
  68.  
  69. <TT>This text looks like it came from a typewriter</TT>
  70.  
  71. ツ 
  72. <BLINK>...</BLINK>  Blinking Text
  73.  
  74. <BLINK>This text is blinking</BLINK>
  75.  
  76.  
  77. <BASEFONT SIZE=x>  Base Font Size
  78.  
  79. <BASEFONT SIZE=4>
  80.  
  81. ツ 
  82. <FONT>...</FONT>  Font Modification
  83.  
  84. <FONT SIZE=+1 COLOR="#123123">This text will be bigger and a different color than the rest</FONT>
  85.  
  86. ツ 
  87. <Hx>...</Hx>  Heading
  88.  
  89. <H1>Welcome to my world.</H1>
  90.  
  91. ツ 
  92. <CITE>...</CITE>  Citation
  93.  
  94. <CITE>This citation sentence is in italics.</CITE>
  95.  
  96. ツ 
  97. <CODE>...</CODE>  Code
  98.  
  99. <CODE>This code sentence is in a fixed-width font.</CODE>
  100.  
  101. ツ 
  102. <DFN>...</DFN>  Definition
  103.  
  104. <DFN>This is definition sentence.</DFN>
  105.  
  106. ツ 
  107. <EM>...</EM>  Emphasis
  108.  
  109.  <EM>This emphasis sentence should be in italics.</EM>
  110.  
  111. ツ 
  112. <KBD>...</KBD>  Keyboard Entry
  113.  
  114. <KBD>This keyboard entry sentence is in a fixed-width font.</KBD>
  115.  
  116. ツ 
  117. <XMP>...</XMP>  Preformatted - No tags
  118.  
  119. <XMP><B>This sentence is in a fixed-width font with tags showing, (but not in bold text).</B></XMP>
  120.  
  121. ツ 
  122. <PRE>...</PRE>  Preformatted
  123.  
  124. <PRE>This is in a fixed   width    format.        You could not have spacing like this in normal HTML text.</PRE>
  125.  
  126. ツ 
  127. <STRONG>...</STRONG>  Strong Emphasis
  128.  
  129. <STRONG>This strong emphasis sentence is bolded.</STRONG>
  130.  
  131. ツ 
  132. <SAMP>...</SAMP>
  133.  
  134. <SAMP>This sentence is in a fixed-width font.</SAMP>
  135.  
  136. ツ 
  137. <VAR>...</VAR>  Variable
  138.  
  139. <VAR>This variable sentence is in italics.</VAR>
  140.  
  141. ツ 
  142. <ADDRESS>...</ADDRESS>  Address
  143.  
  144. <ADDRESS>
  145. HTML Resource Guide / Jeremy Hall and Vince Shrader / hallj@ed.byu.edu / revised July 96 (in italics)
  146. </ADDRESS>
  147.  
  148.  
  149.  
  150. Alignment
  151.  
  152.  
  153. <Hx ALIGN=y></Hx>  See previous entry
  154.  
  155. <P ALIGN=y></P>  See entry below
  156.  
  157. ツ 
  158. <BLOCKQUOTE>...</BLOCKQUOTE>  Block Quotation
  159.  
  160. My favorite poem is: 
  161. <BLOCKQUOTE> 
  162. Wander over mountain peaks<br> 
  163. Rolling down through meadow's dawn<br> 
  164. Breathing life its riches seek<br> 
  165. Ponder not where time has gone</BLOCKQUOTE>
  166. Do you have a favorite poem?
  167.  
  168. ツ 
  169. <CENTER>...</CENTER>  Center
  170.  
  171. <CENTER>This text and graphic <IMG SRC"image.gif" ALIGN=BOTTOM> is centered.</CENTER>
  172.  
  173.  
  174.  
  175. Links & Images
  176.  
  177. ツ 
  178. <A>...</A>  Anchor
  179.  
  180. <A HREF="http://www.byu.edu">BYU Home Page</A>   (Standard Link)
  181.  
  182. <A HREF="http://www.byu.edu"><IMG SRC="image.gif" WIDTH=25 HEIGHT=25 ALIGN=BOTTOM>BYU Home Page</A>                                                       (Standard Link with graphical icon)
  183.  
  184. <A HREF="mailto:emailaddress@host">Name</A>               (Mailto Link)
  185.  
  186. <A HREF="#web">Move down the page (web)</A>                (Internal Link)
  187.  
  188. <A HREF="document.html#web">Web Projects</A>       (Outside document and target name)
  189.  
  190. <A NAME="web"></A>                                                                                                       (Target Name of Internal Link)
  191. <H2>Web Projects</H2>
  192.  
  193. ツ 
  194. <IMG>  Image
  195.  
  196. <IMG SRC=窶拱mages/photo.jpg窶>   (Basic Image Tag Use)
  197.  
  198. <IMG SRC="images/photo.jpg" ALIGN=LEFT>   (Alignment of Image)
  199.  
  200. <IMG SRC="images/photo.jpg" ALIGN=LEFT WIDTH=25 HEIGHT=25>   (Dimensions of Image)
  201.  
  202. <IMG SRC="images/photo.jpg" ALIGN=LEFT WIDTH=25 HEIGHT=25 ALT="Our button bar">  (Alternate Text when image does not load)
  203.  
  204. <IMG SRC="images/photo.jpg" ALIGN=LEFT WIDTH=25 HEIGHT=25 ALT="Our button bar" USEMAP="#buttonbar">   (Including the client-side image map option)
  205.  
  206. ツ 
  207. <MAP>...</MAP>  Client-Side Image Map
  208.  
  209. <MAP NAME="buttonbar">
  210. <AREA SHAPE="rect" COORDS="10,10,49,49" HREF="about_us.html">
  211. <AREA SHAPE="rect" COORDS="10,10,49,49" HREF="products.html">
  212. <AREA SHAPE="rect" COORDS="10,10,49,49" HREF="index.html">
  213. </MAP>
  214.  
  215. <IMG SRC="images/photo.jpg" ALIGN=LEFT WIDTH=25 HEIGHT=25 ALT="Our button bar" USEMAP="#buttonbar">   (Including the client-side image map option)
  216.  
  217.  
  218. Dividers
  219.  
  220. ツ 
  221. <BR>  Line Break
  222.  
  223. This is a line break<BR>
  224. Without a white space in between<BR>
  225.  
  226. ツ 
  227. <P>...</P>  Paragraph
  228.  
  229. <P>This is an example of a paragraph.</P>       (The </P> is optional)
  230. <P>I窶况e just created a space between this sentence and the one above.</P>
  231.  
  232. ツ 
  233. <HR>  Horizontal Rule
  234.  
  235. <HR>
  236.  
  237. <HR WIDTH=50%>
  238.  
  239. <HR SIZE=4>
  240.  
  241. ツ 
  242. <NOBR>...</NOBR>  No (Line) Break
  243.  
  244. <NOBR>This is a long line of text that would normally scroll onto the next line of the display screen, but does not because it is contained within the no break tags, and it is also a terrible run-on sentence.</NOBR>
  245.  
  246. ツ 
  247. <WBR>  Word Break
  248.  
  249. <NOBR>This is a long line of text that would normally scroll onto the next line of the display screen, but does not because it is contained <WBR>(it breaks here because of the word break tag) within the no break tags, and it is also a terrible run-on sentence.</NOBR>
  250.  
  251.  
  252.  
  253. Lists
  254.  
  255. ツ 
  256. <OL>  Ordered List
  257.  
  258. <OL>This is a numbered list of fruits
  259. <LI>apple
  260. <LI>banana
  261. <LI>orange
  262. </OL>
  263.  
  264. ツ 
  265. <UL>...</UL>  Unnumbered (unorganized) List
  266.  
  267. <UL>This is an unnumbered list of fruits
  268. <LI>apple
  269. <LI>banana
  270. <LI>orange
  271. </UL>
  272.  
  273. ツ 
  274. <DL>...</DL>  Definition List
  275.  
  276. <DL> 
  277. <DT>HTML 
  278. <DD> Hyper Text Markup Language 
  279. </DL> 
  280.  
  281.  
  282. ツ 
  283. <DIR>...</DIR>  Directory List
  284.  
  285. <DIR>This is an unnumbered list of fruits
  286. <LI>First Location
  287. <LI>Second Location
  288. <LI>Third Location
  289. </DIR>
  290.  
  291. ツ 
  292. <MENU>...</MENU>  Menu List
  293.  
  294. <MENU>This is an unnumbered list of fruits
  295. <LI>First menu option
  296. <LI>Second menu option
  297. <LI>Third menu option
  298. </MENU>
  299.  
  300. ツ 
  301. <LI>  List Item
  302.  
  303. <UL>This is an unnumbered list of fruits
  304. <LI>apple
  305. <LI>banana
  306. <LI>orange
  307. </UL>
  308.  
  309. ツ 
  310. <DT>  Definition Term
  311.  
  312. <DL> 
  313. <DT> HTML 
  314. <DD> Hyper Text Markup Language 
  315. </DL> 
  316.  
  317. ツ 
  318. <DD>  Definition Data
  319.  
  320. <DL> 
  321. <DT> HTML 
  322. <DD> Hyper Text Markup Language 
  323. </DL> 
  324.  
  325.  
  326.  
  327. Tables
  328. ツ 
  329. <TABLE> ... </TABLE>  Simple Table
  330.  
  331. <TABLE>
  332.         <CAPTION>Teacher Name List</CAPTION>
  333.         <TR>
  334.                 <TH>Name</TH>
  335.                 <TH>School</TH>
  336.         </TR>
  337.         <TR>
  338.                 <TD>Joe Roberts</TD>
  339.                 <TD>Middle High</TD>
  340.         </TR>
  341.         <TR>
  342.                 <TD>Sarah Plantain</TD>
  343.                 <TD>Rutherford High</TD>
  344.         </TR>
  345. </TABLE>
  346.  
  347. ツ 
  348. <TABLE> ... </TABLE>  Table with all options included
  349.  
  350. <TABLE WIDTH=100% BORDER=2 CELLSPACING=5 CELLPADDING=0>
  351.         <CAPTION>Teacher Name List</CAPTION>
  352.         <TR ALIGN=LEFT>
  353.                 <TH>Name</TH>
  354.                 <TH>School</TH>
  355.         </TR>
  356.         <TR>
  357.                 <TD ALIGN=LEFT VALIGN=TOP WIDTH=25%>Joe Roberts</TD>
  358.                 <TD ALIGN=CENTER VALIGN=MIDDLE WIDTH=75%>Middle High</TD>
  359.         </TR>
  360.         <TR>
  361.                 <TD ALIGN=LEFT VALIGN=TOP WIDTH=25%>Sarah Plantain</TD>
  362.                 <TD ALIGN=CENTER VALIGN=MIDDLE WIDTH=75%>Rutherford High</TD>
  363.         </TR>
  364.         <TR>
  365.             <TD COLSPAN=2 ALIGN=CENTER>This is a row of text that spans both columns</TD>
  366.         </TR>
  367. </TABLE>
  368.             
  369.  
  370.  
  371. Forms
  372.  
  373. ツ 
  374. <FORM>...</FORM>   Form
  375.  
  376. <FORM ACTION="action URL" METHOD=GET/POST>
  377.     Enter your name:<BR>
  378.     <INPUT NAME="name" VALUE="Joe Shmoe" TYPE="text" SIZE=30 MAXLENGTH=30><P>
  379.     Select you gender:<BR>
  380.     <INPUT NAME="Gender" VALUE="male" TYPE="radio" SELECTED> Male <BR>
  381.     <INPUT NAME="Gender" VALUE="female" TYPE="radio"> Female<P>
  382.     <INPUT VALUE="Submit Your Entry" TYPE="submit">
  383.     <INPUT VALUE="Clear This Form" TYPE="reset">
  384. </FORM>
  385.  
  386. ツ 
  387. <INPUT>  Input (Variables)
  388.  
  389. Text Field
  390.     <INPUT NAME="name" VALUE="Joe Shmoe" TYPE="text" SIZE=30 MAXLENGTH=30>
  391.  
  392. Radio Button
  393.         <INPUT NAME="Gender" VALUE="male" TYPE="radio" SELECTED> Male 
  394.  
  395. Check Box
  396.     <INPUT NAME="option1" VALUE="cool" TYPE="checkbox" checked>
  397.  
  398. Selection List/Menu
  399.     <SELECT NAME="The_List" MULTIPLE SIZE=3>
  400.         <OPTION SELECTED>Option 1
  401.         <OPTION>Option 2
  402.         <OPTION>Option 3
  403.     </SELECT>
  404.  
  405. ツ 
  406. <TEXTAREA>...</TEXTAREA>   Form Text Area
  407.  
  408. <TEXTAREA NAME="comments" ROWS=4 COLS=50>
  409. Enter your comments here!
  410. </TEXTAREA>
  411.  
  412.  
  413. Miscellaneous
  414.  
  415. ツ 
  416. Frames - (Code modified from Netscape example page)
  417.  
  418. <FRAMESET COLS="50%,50%">
  419.     <FRAMESET ROWS="50%,50%">
  420.         <FRAME SRC="cell.html" SCROLLING="yes">
  421.         <FRAME SRC="cell.html" NORESIZE>
  422.     </FRAMESET>
  423.     <FRAMESET ROWS="33%,33%,33%">
  424.         <FRAME SRC="cell.html">
  425.         <FRAME SRC="cell.html">
  426.         <FRAME SRC="cell.html">
  427.     </FRAMESET>
  428. </FRAMESET>
  429.  
  430. <NOFRAMES>
  431.     This page is designed for a frames-capable browser.  Please see our <A HREF="noframes.html">noframes version</A>.
  432. </NOFRAMES>
  433.  
  434.  
  435. <!--  -->   Comments
  436.  
  437. <!--This is a comment field that does not appear on the browser screen-->
  438.  
  439.  
  440. <META>   Meta Indexing
  441.  
  442. <META  name="description" content="We specialize in grooming pink poodles.">
  443. <META  name="keywords" content="pet grooming, Palo Alto, dog">