HTML Lesson 3: Paragraph and Heading Tags

So, we have learned about making a head and body in HTML, and now we need to actually print something onto our page.

Paragraph and Heading tags

The majority of your website content will be written in a <p> tag, or the paragraph tag. This is the tag to write basic sentences and form paragraphs. To make your site more readable and attractive, you will add <h1> or heading tags.  Let’s take a look at the tags:

<p> This is a paragraph </p>

<h1> This is a heading </h1>

<h2>  This is a smaller heading </h2>

<h3> This is an even smaller heading </h3>

There are actually 6 heading tags <h1> <h2> <h3> <h4> <h5> <h6> to select from, depending on the size of the heading you need.

I have written them in on jsbin.com and produced the following output:

headingstagcomparison

When making a webpage, you will want to use a variety of headings and sections of text.

Exercise:

Write a program that prints a 2 paragraphs with two heading tags.

(Click here if you need a refresher on the basic structure of an html page.)

 

 

Advertisements

Try “The Hold” to calm a crying baby

Time for a ‘mommy’ post. This video of a pediatrician from Pacific Ocean Pediatrics quickly calming tiny, crying newborn babies is a must watch. “The Hold”, as Doctor Robert Hamilton calls it, consists of crossing the baby’s arms across their chest and holding their arms/chest while holding them by the bottom with the other hand.  He then holds them at a 45 degree angle and gentle rocks and bounces the baby, who becomes quiet and alert almost immediately.

Both of my babies loves to be rocked in a similar as itty bitty newborns, so it makes sense this hold works so well!  Watch the cute video and try it if you have a newborn!