Web Dev Cheat Sheet

ウェブ開発者チートシート

N A V I G A T E

A reference guide for common CSS elements and HTML Tags


CSS Selectors

CSS Selectors are use to manage and stylize our html code more efficiently.
  • .class

  • .class can be used to select all elements with class="class"

  • .class1.class2

  • Selects all elements with both name1 and name2 set within its class attribute

  • .class1 .class2

  • Selects all elements with name2 that is a descendant of an element with name1

  • #id

  • Selects the element with id="example"

  • *

  • Selects all elements

  • element

  • Selects all <element> elements

  • element.class

  • Selects all <element> with class="class"



Must go on


HTML Tags

HTML Tags are the heart of HTML and are used to not only program in text and images to your website but also to organize your code and add more functionality
  • <p>

  • The paragraph tag, to insert a paragraph.

  • <!DOCTYPE>

  • Defines the document type

  • <a>

  • Defines a hyperlink

  • <div>

  • Defines a section in a document

  • <embed>

  • defines a container for external applications



When your first start learning code