Padding vs. Margin

Margin controls the invisible open space on the outside of your divider (div tag) Padding controls the invisible open space on the inside of your divider (div tag)

Both of these attributes have multiple ways of being assigned. You can use the version that allows you to assign all four … Read more

Id vs. Class Selectors

Selectors allow you label a div so they can be easily found. You can then construct your CSS styles and store them in the head of your document or even elsewhere and yet still have the ability to apply those styles to the div in the document.

Selectors are what … Read more

Div tags

A div creates a division or section within your html document. This section can wrap around any given content: text, images, video embedded in your page, and more.

A div opens with the tag <div> and closes with </div>

Div became very popular because they start by being invisible but … Read more

HTML Primer

A helpful way to think about learning HTML is to consider it as extending one’s existing vocabulary. Coding is simply a different way to present information, using this ‘new’ vocabulary. Much in the same way as learning a new word or phrase, once someone learns to recognize a tag (a … Read more