Instinct hub white logo

Learn what you love by gaining insights into human-centred design and software development. We have a brilliant team to work you through our human-centred creative learning processes to enable you to obtain the skills you need.

You may like:

Image Alt

Instinct Hub

  /  Programing   /  HTML and CSS Refresher – The Web Design Basic Concept
HTML and CSS

HTML and CSS Refresher – The Web Design Basic Concept

HTML and CSS Refresher - The Web Design Basic Concept

HTML (Hypertext Markup Language) and CSS (Cascading Stylesheet) for long have been the commonly used tools of web development, the two frameworks are complementary in nature. HTML allows you to declare the structure of the web, while CSS add aesthetics to it.

The HTML Tags usually comes in two pairs, although, elements like <img> are self-closing, however, An HTML element consists of an opening and a closing tags. Between the two tags, the actual content is placed.

The opening tags carry attribute which often provides more details about the element. HTML attributes always come with a name and the value. The value of the attributes is surrounded by quotes.

On the other hand, CSS uses rules to indicate how the content of one or multiple HTML elements should be displayed in the browser. To apply CSS rules, you need to select the element and make a declaration. 

CSS declaration allows you to target the elements on a page using either the tag name, ID, class or attributes selectors. 

In simple terms;

  • HTML declares the page structure
  • CSS add beauty to it. 

Leave a comment