Category

HTML

6 guides in this category.

Insert Line Breaks In HTML Code

How do you insert a line break into your HTML code? To insert a line break in HTML use the line break tag . The line break tag is self-closing and doesn’t have a corresponding closing tag, like the paragraph tag does: . For example, to include a line break tag in your HTML code insert it where needed, like so: As you can see line breaks are popular tags…

Read guide

How To Add Attributes To Images In Markdown

Markdown is a popular way of writing content and converting it to HTML. Many popular web development sites use it including StackOverflow and GitHub. In fact these very pages that you see here on this sight have been created from source documents written in Markdown. However, one little problem I’ve recently bumped into is appending width and height parameters to the image tags so images can be sized responsively, which…

Read guide

How To Write Fractions Using Only HTML & CSS

Usually when I write fractions I use LaTeX’s command: \frac{x^2 + 3x + 5}{2x} which is easy, neat and when rendered does an awesome job: $$ \frac{x^2 + 3x + 5}{2x} $$ Currently, though I’m designing a simple website for my math students where I’d prefer not use a math renderer (if possible). The reason being that most of the content which is published does not require extensive math notation…

Read guide