HTML and You: The Basics for Your Law Firm Website

A white, rounded square logo with an abstract S-shaped design on a gradient blue and purple background.

Hyper Text Markup Language, better known as HTML, is the main language of the web. From bolding text to adding images to your website, HTML can be very helpful and will allow you to do this and do this.

html-image.jpgHTML is a markup language, which means you can style and alter the text on a page by surrounding the element in containers called tags. For example, if we want to bold text, we can add the <strong> tag around the text.

<strong>Bold Text</strong>

By surrounding the text with the open and close <strong> tags, we’re able to strengthen the font. The close tag is the same as the open tag in most cases, but with a forward slash. The three parts of our bold HTML element are:

  1. <strong> – I’m open!
  2. Bold Text – I’m being marked up!
  3. </strong> – I’m closed!

If we want to italicize the text, we can use the <em> tag that emphasizes our text. Just as we did with <strong>, we’re going to 1) open the <em> tag, 2) add the text we’d like italicized and 3) close our <em> tag with a forward slash. Our final result would be:

<em>Italicized Text</em>

We can even take things to the next level with bold and italicize on the same text!

<strong><em>Strong and Italicized Text</em></strong>

Other useful tags include:

Tag Example
<h1> <h1>My Main Headline</h1>
The <h1> tag is used to display the main headline of your article or website.
<h2> <h2>My Sub Headline</h2>
The <h2> tag relates to subheadings, which are slightly smaller than your main headline.
<p> <p>A paragraph of text with one sentence.</p>
<p>A second paragraph of text. This time with two sentences.</p>
All text on a page that is not part of a headline or a list goes in paragraph tags. The <p> tag also provides for proper spacing with margins above and below the paragraph.
<br /> <p>This is line 1<br />
This is line 2</p>
The <br /> tag is used to skip to the next line similar to a return break. Unlike the previous tags, the <br /> tag is one of a few tags that closes itself. You’ll notice the forward slash right before the closing arrow.
<img> <img src=”” alt=”PaperStreet logo” />
Just like the <br /> tag, the <img> tag closes itself with a forward slash at the end. Unlike the other tags, <img> has attributes that point to an image location or provide a title. SRC, or image source, tells the <img> tag where to look for the image file on your website. The ALT attribute provides alternative text that shows up when the image SRC is not found and also gives blind users a description of the picture.

For more information on HTML and a great reference for other tags, check out W3Schools or contact us at 954.523.2181 for more information.

Share This

Join the Sales and Marketing News, receive our last insights, tips and best practices.

Our 7 Guarantees

Keeping 2,000+ Clients Happy Since 2001.

You Will Love Your Design We design to please you and your clients
Same-Day Support 24-hour turnaround edits during business hours
Free Education We provide knowledge to help you expand
No Hidden Charges We quote flat-rate projects
Own Your Site No strings attached
We Create Results SEO, PPC, content + design = clients
We Make Life Easier One agency for web, branding and marketing