SEO Packages

Create Your First HTML Page

October 29, 2011EditorHTML, Web DesignComments Off

If you are running Windows, start Notepad.

If you are on a Mac start SimpleText.

In OSX start TextEdit and change the following preferences: Select (in the preferences window) “Plain text” instead of “Rich text” and then select “Ignore rich text commands in HTML files”. This is very important because if you don’t do this HTML codes probably won’t work.

Type in the following text:




This is my first homepage. This text is bold

Save the file as “mypage.htm”.

Start your Internet browser. Select “Open” (or “Open Page”) in the File menu of your browser. A dialog box will appear. Select “Browse” (or “Choose File”) and locate the HTML file you just created – “mypage.htm” – select it and click “Open”. Now you should see an address in the dialog box, for example “C:MyDocumentsmypage.htm”. Click OK, and the browser will display the page.
Example Explained

The first tag in your HTML document is . This tag tells your browser that this is the start of an HTML document. The last tag in your document is . This tag tells your browser that this is the end of the HTML document.

The text between the tag and the tag is header information. Header information is not displayed in the browser window.

The text between the tags is the title of your document. The title is displayed in your browser’s caption.</p> <p> The text between the <body> tags is the text that will be displayed in your browser.</p> <p> The text between the <b> and </b> tags will be displayed in a bold font.<br /> HTM or HTML Extension?</p> <p> When you save an HTML file, you can use either the .htm or the .html extension. We have used .htm in our examples. It might be a bad habit inherited from the past when some of the commonly used software only allowed three letter extensions.</p> <p> With newer software we think it will be perfectly safe to use .html.<br /> Note on HTML Editors:</p> <p> You can easily edit HTML files using a WYSIWYG (what you see is what you get) editor like FrontPage, Claris Home Page, or Adobe PageMill instead of writing your markup tags in a plain text file.</p> <p> But if you want to be a skillful Web developer, we strongly recommend that you use a plain text editor to learn your primer HTML. </p> <style>#socialbuttonnav li{list-style:none;overflow:hidden;margin:0 auto;background:none;overflow:hidden;width:62px; height:70px; line-height:10px; margin-right:1px; float:left; text-align:center;}</style> <ul id="socialbuttonnav"> <li><!-- Facebook like--><iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.designersplayground.com%2Fpr%2Fcreate-your-first-html-page%2F&send=false&layout=box_count&width=44&show_faces=false&action=like&colorscheme=light&font&height=90&appId=220231561331594" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:44px; height:90px;" allowTransparency="true"></iframe></li> <li><!-- Google plus one--><g:plusone size="tall" count="true"></g:plusone></li> <li><!-- Twitter--><a target="_blank" name="twitter_share" data-count="vertical" href="http://twitter.com/share" class="twitter-share-button" >Tweet</a></li> <li><!-- linkedin--> <div><script type="in/share" data-counter="top"></script></div> </li> <li><!-- stumbleupon--> <div><script src="http://www.stumbleupon.com/hostedbadge.php?s=5"></script></div> </li> <li><!-- Pinterest like--> <a target="_blank" href="http://pinterest.com/pin/create/button/?url=http%3A%2F%2Fwww.designersplayground.com%2Fpr%2Fcreate-your-first-html-page%2F&media=" class="pin-it-button" count-layout="vertical">Pin It</a></li> </ul> <div id="wpcr_respond_1"></div> </div> <!-- .entry --> <div class="entry clearfix"> <h4 class="single_headings">Related Posts</h4><ul class="related_list clearfix"> <li><a href="http://www.designersplayground.com/pr/create-a-form-with-html/" title="Permanent link to Create a Form with HTML" rel="bookmark">Create a Form with HTML</a></li> <li><a href="http://www.designersplayground.com/pr/creating-tables-in-html/" title="Permanent link to Creating Tables in Html" rel="bookmark">Creating Tables in Html</a></li> <li><a href="http://www.designersplayground.com/pr/html-coded-character-set/" title="Permanent link to HTML Coded Character Set" rel="bookmark">HTML Coded Character Set</a></li> <li><a href="http://www.designersplayground.com/pr/using-color-on-your-web-page/" title="Permanent link to Using Color On Your Web Page" rel="bookmark">Using Color On Your Web Page</a></li> </ul></div><div id="comments" class="entry"> <p class="nocomments">Comments are closed.</p> </div><!-- #comments --> <div class="pagination"> <div class="prev"><a href="http://www.designersplayground.com/pr/learning-html-html-editors/" rel="prev"><span class="meta-nav">←</span> Previous Post</a></div> <div class="next"><a href="http://www.designersplayground.com/pr/creating-and-formatting-text/" rel="next">Next post<span class="meta-nav">→</span></a></div> </div><!-- .pagination --> </div><!-- .content --> <br /> <b>Catchable fatal error</b>: Object of class stdClass could not be converted to string in <b>/home2/edelega2/public_html/pr/wp-content/plugins/wp-slimstat/wp-slimstat.php</b> on line <b>1007</b><br />