2. Inside the head

Today we’ll start by looking at this code.

3post

Step by step I’ll explain what’s going on within it.

doctype

Using this command we’ll inform  browser that we are going to work using HTML5.

html

This tag is the container for all other HTML elements . In this element goes everything we are going to declare at our website.

head

Head is a place where we declare meta data, links and title.

charset

This tag declares what kind of characters we are going to use. Utf-8 represents polish characters like „ ą ; ź : ś … „.

scaledevice

Using this line of code allows us to test different resolutions within the web browser using the developer tools provided within it.

fontstyle

“Link” loads a font called „Playfair display”, meaning it can declare it’s in CSS as a font-style.

css

This link allows us to load a file called „style1.css” from the styles folder. In CSS we can declare how our HTML elements will behave on our website.

3ofseo

To explain this, look at picture below (direct link).

TIP:arrows show where our elements will be displayed

3ofseoAnswer

Another tasks (9 and 10 lines) are used for SEO (Search Engine Optimization) meaning, if we search for our website or something related to it, using a search engine such as Google.com, our website should be among the results that pops up, increasing our chances of gathering views.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at WordPress.com.

Up ↑

%d bloggers like this: