HTML: Tips and Tricks

- Read Article
You may have noticed that there is no difference in size between an
h1
heading andh2
heading within anarticle
orsection
element. That’s weird. In this article, I’ll explain why it is, and the current recommendation for HTML heading levels. - Read Article
Being a techie means constant learning. Whether you’re a newbie web developer or an experienced programmer, you are bound to find yourself banging your head against a wall, trying to figure out why the new software you installed isn’t behaving correctly or why the program you just wrote is not working. Luckily, there are a lot of developers out there who are willing to help. But to get a good answer, you need to ask a good question. In this article, I give you some tips for how to ask good questions.
- Read Article
A nested list or a sublist is a list within a list. The trick to marking nested lists up correctly in HTML is to recognize that the sublist is actually a child of a list item and not of a list.
- Read Article
Visual Studio Code is an excellent IDE to use when learning to develop web sites. It provides a nice balance of power and simplicity and it is available on Windows and Mac.
- Read Article
Visual Studio Code doesn’t have a built-in method for launching HTML and other files in Google Chrome, but you can configure it to do so.
- Read Article
In this exercise, you will create your first HTML document by simply copying the text shown below. The purpose is to give you some sense of the structure of an HTML document.
- Read Article
Generally speaking, HTML has two types of tags: empty and container. In this how-to, you'll learn the difference between the two.
- Read Article
In school, we all learn to write footnotes and bibliographies. On your web pages you should also cite your sources. HTML provides specific markup for doing so.
- Read Article
HTML tables are created with the
<table>
,<thead>
,<tbody>
,<tfoot>
,<tr>
,<th>
,<td>
, and<caption>
tags. - Read Article
I ran into this problem while writing our Creating, Styling, and Validating Web Forms course. I was showing how browsers make an automatic request for "/favicon.ico" when first visiting a new site. However, once they've received the icon or determined it doesn't exist, they don't request it again on subsequent visits. That created a headache for me when trying to show how to deliver the icon. Unfortunately, it's not easy to force the browser to refresh the favicon.ico, but it's doable.