Skip to main content

Introduction to HTML: Home
 

A bare bones introduction to HTML coding

HTML Basics

What is HTML?

HTML stands for Hypertext Markup Language, a simple coding language that uses tags to guide the display of Web documents by browser software.

What does HTML look like?

Here's a sample, bare bones, web page in html:

<html>

<head><title>The page title goes here and will display at the very top of the screen.</title></head>

<body>

<h2>A bolded section header in a larger font size</h2>

<p>Type in the text of your document here. When you want to skip a line or start a new paragraph use the paragraph tag.</p>

<p><p>Multiple returns in your document are ignored in html.</p><p>

<p>You can <i>italicize text</i> and <b>underline text</b>.</p>

<p><center>You can center text.</p></center>

<p>When you want to link to another Web document or page, insert a URL and the words you want highlighted and underlined in your text. The URL will not be displayed:</p>

<p><a href="http://www.library.cornell.edu/">This is a link to the CUL home page.</a> </p>

<p>Add a horizontal line with this tag: <hr /></p>

<p>It's a good idea to date and sign your pages:</p>

<p> Last updated on August 12, 2015 by Fred Muratori</p>

</body>

</html>


The HTML code above would display as a web page like this:

A bolded section header in a larger font size

Type in the text of your document here. When you want to skip a line or start a new paragraph use the paragraph tag.

Multiple returns in your document are ignored in html.

You can italicize text and underline text.

You can center text.

When you want to link to another Web document or page, insert a URL and the words you want highlighted and underlined in your text. The URL will not be displayed:

This is a link to the CUL home page.

Add a horizontal line with this tag:


It's a good idea to date and sign your pages:

Last updated on August 12, 2015 by Fred Muratori


The names of HTML files end with file extension .html