The basics: HTML and CSS

Entry by Jasmine Linabary

Want to learn the basics of HTML and CSS? Start by taking a closer look at the sites you frequent.

Go to a site in Firefox and click “control” + “u.” This will pull up the source code for that Web page. From there, you can explore the code and begin to understand what coding looks like and how features you are familiar with have been created.

From there, you should try a tutorial. The best way to learn about code is through practicing. Try HTML Dog as a starting point.

Here are some key points to remember:

-HTML, or HyperText Markup Language,  is about the meaning of your site. CSS, or Cascading Style Sheets, is about the presentation of your site.

ALWAYS close off your tags when you are coding.

-Trial and error is the best way to learn, but make sure you copy your original code into a document or some place to save it in case you need to revert back to a previous segment.

-If you don’t know what a piece of code means or what it’s doing, look it up.

—–

Here are some of the basic codes to know, even if it’s just for fixing the formatting in a blog post:

<p> = paragraph break

<br>= line break

<em>= emphasis or italic

<strong>= bold

Advertisements

Comments Off on The basics: HTML and CSS

Filed under Web design

Comments are closed.