Crash Course in Web Design – Part 1 Basic HTML Tags

Download Source Files: 1-html-basics.zip

The following YouTube video goes over some of the things mentioned in the blog below in regards to HTML tags.


Understanding the basics of HTML tags.

To get a browser to render HTML properly HTML text needs to be wrapped in HTML tags.

An an HTML document, HTML elements are tags, as well as text, which act as indicators to a web browser as to how the document is to be interpreted. An example of a tag is: <p></p>

which is a tag for a “paragraph”.

For example to make a word in HTML bold, wrap the text in a “strong” tag like below:
<strong>Text here</strong> // – - >>  Text here

For italic words we’d use “em” for embellish.
<em>Text here</em> // – - >> Text here

If you want to use multiple tags use make sure they are opened and then closed in enclosing method such as:
<tag1><tag2>My words</tag2></tag1>
<strong><em>My words</em></strong> // – - >> My words


Common HTML Tags used in web design

HTML tags commonly have and opening tag and a closing tag such as: <strong></strong>

Tags that have open and closing tags.

Bold - <strong><strong>
Italic – <em></em>
Underline – <u></u>
Paragraph – <p></p>
Text Link – <a href=”http://mysite.com”>Text Link Here</a>
Heading 1 – <h1></h1>
Heading 2 – <h2></h2>
Heading 3 – <h3></h3>

Self closing tags.

The following tags are self closing, meaning they do not have an associated closing tag. Instead they close themselves with “/>”.

Image – <img src=”http://mysite.com/images/image.jpg” />
Line Break - <br />
Horizontal Rule – <hr />

Bulleted List: Lists are an important part of web design. They are commonly used for navigation once they are stylized. Notice first the Unordered List tag “ul” is opened, then List items “li” are added.

<ul>
<li>bullet 1</li>
<li>bullet 2</li>
<li>bullet 3</li>
</ul>


Assignment 1:

  • Create a text doc and save it as index.htm
  • Code out the tags above to create a page of content
  • Search the internet and find three new tags to use
  • Test your document by opening it in a browser

Download Source Files: 1-html-basics.zip


Other HTML Resources

There are quite a few other HTML tags that can be used in web design. Just a quick search in Google and you can find quite a few resources.


Browsers for Web Design

I prefer Firefox as a browser, or Chrome, however when building for web you should test your pages in various browsers as the HTML may render differently in different browsers including Safari, Explorer. Different platforms like Mac, PC, Mobile all render things a bit differently.

I suggest try using Firefox and add the following plugins.


The Basics of an HTML page

This is a supplementary video that shows the basics of an HTML web page.

Well, that’s it for now, next post in the series will focus on file structure and linking files.

Please help me promote my beta-course by tweeting, Facebooking or sharing with friends. Thanks for your support! – kh

Tags: ,

This entry was posted on Monday, March 15th, 2010 at 7:52 pm and is filed under Crash Course in Web Design. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

5 Responses to “Crash Course in Web Design – Part 1 Basic HTML Tags”

  1. Michelle Chance-Sangthong Says:

    March 15th, 2010 at 8:44 pm

    Kenny,

    Great primer!!! I just had to look up this week… and I think I’ve been over using it ever since, but I love the emphasis

  2. Scott Lara Says:

    March 16th, 2010 at 4:14 am

    Thanks for the info. My number one rule is NOT to reinvent the wheel. In the future can you show us a high quality website and let us know what steps we need to do to make our websites high quality?

    Thanks…

    Scott Lara

  3. Kenny Harper Says:

    March 16th, 2010 at 6:01 am

    Thanks for the support Michelle,

    This is a bit new ground for me (in regards to blogging, doing my own videos etc…). I’ve built many web sites but not really ran a living blog till recently. I expect to grow with practice. : )

  4. Kenny Harper Says:

    March 16th, 2010 at 6:11 am

    Thank you Scott! I do plan to go over a mix of a little bit of everything from code and function to strategy and theory.

    A bit down the road I definitely plan to review some really good sites and bad sites and share tips on how to improve one’s site for better performance. I’m currently in the process getting my feet wet.

    I still need to do phase II of this site. : )

  5. Crash Course in Web Design - Part 2 Linking Web Files | Key Theory Web Design Says:

    March 19th, 2010 at 5:49 am

    [...] Ok so if you’ve followed along with part one you should be familiar with HTML tags and the basics of an HTML page. If your not go back and read part 1, download the code and watch the videos http://keytheory.com/crash-course-in-web-design-part-1-basic-html-tags/. [...]

Leave a Reply