Site hosted by Angelfire.com: Build your free website today!

HTML>HTML Formatting>Teletype Tag

 

Font Size Font Colour Font Type Teletype Text Alignment

The Teletype Tag

Teletype is treated like normal text, it can be modified by other font tags or integrated into a line of normal text without being pushed onto a new line.

The Teletype tag <tt> is monospaced text and can accommodate formatting tags, like <p> and <br>, and will automatically wrap, in accordance with the width of the browser window. The teletype tag <tt> is accompanied by the closed tag </tt>.

Example

Try it out for yourself!

Examine the HTML code below. Cut and paste (Ctrl c + Ctrl v) the following HTML code into the form window below and press the check it out button to see the resulting webpage.

<html>
<head><title>HTML Teletype</title></head>
<body>
<tt>Mom and Dad,

<p>Work is good. Thanks for the gifts. I'm not sure how to tell you this, but, well, I have quit my job and I am working in a Kubutz. The programming stuff wasn't really my thing.
<p>Could you send a few extra Euro my way? I have an appointment with the doctor here and they make you pay up front.
<p>Your loving son,<br>
Luke
</tt>
</body>
</html>

Creating your own webpage

Follow these simple steps to create your own webpage and to view your created webpage in your browser.

HTML Font Type AttributeHTML Font Type AttributeHTML Align AttributeHTML Align Attribute

 

 

HTML OverviewHTML RequirementsHTML TagsHTML Document StructureViewing HTML Source CodeHTML Heading TagHTML Paragraph TagHTML Line Break TagHTML Comment TagHTML Horizontal Rule TagHTML Block Quote TagsHTML Font Size AttributeHTML Font Colour TagHTML Font Type TagHTML Alignment TagHTML Ordered ListsHTML Unordered ListsHTML Definition ListsHTML Anchored Link TagsHTML Mailto Link TagsHTML Image TagsLets create a webpageTake the HTML QuizHTML Quick Reference GuidePublishing your Website