Web Design Stuff
HTML Tutorials    CSS Tutorials    Web Hosting   Resources
Create a Web Page 101
Making Web Pages Intro What is a Web Page? Why Make a Web Page? The History of HTML Learn HTML or XHTML?
Basic HTML
Basic HTML Tutorials Basic HTML Necessities How to Make a Web Page How to Edit a Web Page The Basics of HTML Tags Basic HTML Page Structure HTML Attributes
HTML Font Codes
HTML Font Codes Intro HTML Font Color Codes HTML Font Size Codes HTML Font Style Codes HTML Bold/Italic Codes Combining Font Codes
Formatting Text
Formatting Text Intro Making Paragraphs Miscellaneous Formatting Headings & Subheadings Creating Hyperlinks
Using Graphics
Using Graphics on the Web Add Graphics to Your Pages Graphics and Accessibility How to Align Graphics Page Color & Background Graphics as Hyperlinks Horizontal Rules
Creating Tables
HTML Tables Tutorials HTML Table Fundamentals Background & Border Color Table Frames & Rules Table Width and Alignment Cells 1 -Space & Alignment Cells 2 -Row Column Span Cells 3 -Width & Height
Making Lists
HTML Lists Tutorials Bulleted Lists Numbered Lists Definition Lists
HTML Frames
HTML Frames Tutorials Using Frames for Layout Advanced Frame Layouts Putting Hyperlinks in Frames Frame Border Width Color, Margin and Control Problems with Frames SmartFrames: A Solution SSI: An Alternative to Frames
Web Page Forms
Making Feedback Forms A Simple Feedback Form Installing NMS FormMail Debugging Your Setup My Web Host is Out to Lunch User Input Components Text Fields Checkboxes & Radio Buttons Dropdown Menus Push Buttons Layout and Presentation
Basic CSS
Basic CSS Tutorials What is CSS? Why You Should Use CSS How to Use CSS Inline Styles Embedded Style Sheets External Style Sheets Class Selectors ID Selectors Combining Selectors
CSS Properties
CSS Properties Intro Font Styles Width, Height & Spacing Borders Backgrounds Position Float & Alignment Hyperlinks
All About Web Hosting
Hosting Your Own Website What is a Web Host? Your Website's Home Page Building a Website Offline About Free Web Hosting Best Free Web Hosting Commercial Web Hosting How to Get a Domain Name Ecommerce Web Hosting Web Hosting Terminology
Free Web Design Tools
Best Free Website Tools Best Free Text Editors Best Free Graphics Editors Free Website Analysis Tools
Setting Up HTML Kit
HTML Kit Introduction How to install HTML Kit Screenshot Breakdown Basic Configuration Overall Appearance Shortcuts and Startup Editing Window Customizing Toolbars Using the Favorites Tab Making a New Actions Bar Odds and Ends
Free Templates
Free Website Templates Two Column Fixed Width Three Column Liquid Layout Miscellaneous Templates Dynamic Menu Effects Two Column Experimental Terms of Use About These Templates
Website Templates Help
Getting Started Template Zip File Download How to Edit Your Template What to Edit in the HTML How to Add Your Logo Making a Website
Web Design Tips
Web Design Basics Tables vs. Tableless Using Tables for Layout Example Table Layouts World's Crappiest Web Page
Twitter Backgrounds
Twitter Backgrounds Intro Cool Twitter Backgrounds Cool Twitter Backgrounds 2 Plain Twitter Backgrounds Dark Twitter Backgrounds Best Twitter Backgrounds Cute Twitter Backgrounds Music Twitter Backgrounds Music Twitter Backgrounds 2 Twitter Backgrounds 101 TERMS OF USE
All About Web Browsers
What is a Web Browser? Mozilla Firefox Internet Explorer Opera How to Set Up Firefox Top 5 Firefox Extensions
 
Contact
Post Some Feedback Send Me An Email Iron Spider Blog About Iron Spider... Site Conventions
 
 
 

 

Formatting Text

 

Overview


The Formatting Text section of Iron Spider contains a series of tutorials which will teach you how to format text on your web page. These tutorials will walk you through the process of using HTML to display text on your web page in paragraphs and and other block elements as well as how to make page headings and create hyperlinks.

A Sample Page


Sample Page 1 represents a summary of the HTML source code covered in this section and the previous two sections (Basic HTML and HTML Font Codes). The following color coding applies to this example only:

  • Maroon bold represents the essential structural elements.
  • Blue bold represents block elements.
  • Blue normal represents inline elements.
  • Green represents attribute-value pairs.
  • Black represents your visible text.
  • Purple represents HTML comment lines.
Sample Page 1

<html>

<head>

<title>
The title of your web page goes here.</title>

</head>

<body
text="black" link="blue" vlink="purple" alink="red">
<!-- In the 'body' tag, various attributes set the link status colors and and the default body text color.-->


<!--BLOCK ELEMENTS -->
<h1>Your page heading goes here.</h1>


<p>Your first paragraph goes here. Web browsers ignore all extraneous white space and line breaks appearing in HTML source code. You can create line breaks by using block elements. The 'p' element will create a paragraph.</p>

<p>Your second paragraph goes here. Web browsers display paragraphs with a blank line of white space in between each and with all text flush with the left margin.</p>

<p>Your third paragraph goes here...</p>


<div>The text to be set in your first generic division goes here. The 'div' element creates a line break with its end tag but unlike paragraphs, no blank line of white space appears in between each division.</div>

<div>The text to be set in your second generic division goes here. Use generic divisions along with Cascading Style Sheets when a much more sophisticated level of control is required over text formatting.</div>

<div>The text to be set in your third generic division goes here... </div>


<blockquote>Your indented block of text goes here. This is typically used to indicate that the text has been quoted from another source.</blockquote>


<!-- INLINE ELEMENTS -->
Use the 'br' element to create a line break at will. Let's create one now.<br> The flow of text breaks to the next line.<br> And again. Use two of them to simulate paragraphing.<br><br> A new 'paragraph' is initiated by using two 'br' tags in succession to separate this text from the preceding text...
<br><br>


<font face="Arial">Your text using Arial font face goes here.</font>

<!-- Replace Arial with any widely used font such as: Verdana, "Courier New", "Times New Roman", "Comic Sans MS". Remember to put double quotation marks ( " " ) around any multiple word font name. -->

<font size="5">Your size 5 text goes here.</font>

<!-- Replace 5 with any number from 1 through 7. -->

<font color="green">Your green text goes here.</font>

<!-- Replace green with any one of 16 recognized color names: Black, Green, Silver, Lime, Gray, Olive, White, Yellow, Maroon, Navy, Red, Blue, Purple, Teal, Fuchsia, Aqua -->

<b>Your bold text goes here.</b>

<i>Your italics text goes here.</i>

<u>Your underlined text goes here.</u>

<s>Your strike-through text goes here.</s>

<tt>Your teletype text goes here.</tt>

<sup>Your superscript text goes here.</sup>

<sub>Your subscript text goes here.</sub>



<!-- HYPERLINKS -->
<a href="http://www.ironspider.ca/">Your link text goes here.</a>
<!-- Replace http://www.ironspider.ca/ with any valid web address. -->
<br><br><br><br>


<!-- ALTOGETHER NOW (Combining effects) -->
<p><font face="verdana" size="2" color="navy">A new paragraph begins with the text displayed in Verdana typeface at size 2 and in navy blue... <i>some italics text...</i> italics ends but text continues with Verdana, size 2, navy... <b>some bold text...</b> bold ends but text continues with Verdana, size 2, navy... </font></p>

<blockquote><font face="verdana" size="2" color="navy"><i>Some quoted text in Verdana, size 2, navy and italics appearing in an indented block... </i></font></blockquote>

<p><font face="verdana" size="2" color="navy">A new paragraph begins in Verdana typeface at size 2 and in navy blue... <a href="http://www.ironspider.ca/">Hyperlink to Iron Spider</a> Some more text... </font></p>

<br><br><br><br>
<!-- All HTML tags must be properly 'nested'. Block elements may contain other block elements, inline elements and/or text. Inline elements may only contain other inline elements and/or text. Pay special attention to avoid overlapping font and font style tags since they are frequently used together to combine their effects. -->

</body>

</html>



Click here to see how Sample Page 1 would look as a web page.






Best Free Stuff
for webmasters

Free Text Editors
Free Graphics Editors
Website Analysis Tools
Free Website Templates

See also:

Best Free Web Hosting

 

If you need a .COM web address, you can get one quick and easy at...

www.GoDaddy.com
HOME TOP NEXT ~>
 
HTML Tutorials |  CSS Tutorials |  Web Hosting |  Domain Names |  Web Design Resources
Iron Spider © Copyright 2004-2011 Robert Darrell