Common HTML Elements (Cheatsheet included)
HTML has seemingly endless HTML elements - here are the most common ones you need to know.
Course content
71 lessons- 1Tools you need for the HTML/CSS course1:59
- 2Overview of the VS Code Text Editor4:57
- 3Code your first webpage3:59
- 4What is HTML Really?3:16
- 5What does HTML look like?2:46
- 6HTML Elements7:20
- 7HTML Elements - Continued3:36
- 8Common HTML Elements (Cheatsheet included)3:26
- 9HTML is a forgiving language3:47
- 10Basic Markup of HTML5:18
- 11The <h1>...<h6>, <i> and <strong> elements5:18
- 12Learn to link webpages via the anchor <a> element4:04
- 13Relative vs Absolute Paths - linking continued5:50
- 14<div> and <span> elements6:36
- 15Making lists in HTML via <ul>, <ol> and <li> elements5:36
- 16Making nested lists + Homework4:31
- 17Adding special characters in your webpage5:50
- 18Emmet shortcuts and code comments3:37
- 19<meta> elements and what they are about3:19
- 20<meta> description and keyword elements for SEO3:33
- 21<blockquote> and <pre> elements for special text formatting5:43
- 22Adding images with the <img> element5:11
- 23Using <video> and <audio> elements5:56
- 24Semantic Elements + Homework4:26
- 25Intro to CSS - Making the webpages beautiful4:22
- 26Intro to CSS continued4:10
- 27<style> element & using CSS selectors5:38
- 28Organize your CSS is its own file4:55
- 29CSS id selector (# hash sign)4:20
- 30CSS class selector (. dot sign)3:52
- 31Select all elements with asterisk (*) selector0:58
- 32Using multiple selectors together (using comma and more)4:40
- 33CSS Combinators selectors (~ + > etc.)7:50
- 34Pseudo Selectors (:visited: :hover :active :focus)6:04
- 35Chrome Developer Tools - Intro6:43
- 36Colors in CSS3:19
- 37Apply multiple CSS classes + write notes with code comments2:59
- 38Fonts: Change & add custom fonts6:20
- 39Background CSS Property. Change color, images and more7:39
- 40Common CSS Units - (px, em, rem, %)7:01
- 41Common CSS Units - (rem)2:39
- 42CSS Margin and Padding9:49
- 43CSS border property4:00
- 44CSS border style2:05
- 45Size elements with 'width' and 'height' property3:21
- 46Use 'box-sizing' for more control on element sizing3:43
- 47'border-radius' Curve borders and make custom shapes.7:58
- 48<div> vs <span> the real difference4:36
- 49Using 'display' property of CSS & 'inline-block'3:19
- 50'float' & 'clear' property - Moving elements around.4:38
- 51Hide content with `overflow`, `visibility` and `display` property3:36
- 52Clearfix: Hack to fix webpage spacing issue3:51
- 53Project: Blog Design - Create beautiful looking website5:20
- 54Project: Blog Design (Part 2/7) - Layout the HTML9:09
- 55Project: Blog Design (Part 3/7) - Styling the header4:01
- 56Project: Blog Design (Part 4/7) - Styling main and footer area4:02
- 57Project: Blog Design (Part 5/7) - Styling sidebar3:10
- 58Project: Blog Design (Part 6/7) - Styling articles2:17
- 59Project: Blog Design (Part 7/7) - Additional Pages5:13
- 60'position' - Control element position within your page8:10
- 61Project: Coupon (using `absolute` & `relative` position)5:21
- 62CSS Flexbox & CSS Grid - More layout methods3:02
- 63CSS Priority Order6:04
- 64Additional Resources - Codepen + HTML Cheatsheet5:18
- 65<table> Making tables in HTML5:32
- 66<table> Making tables in HTML continued2:41
- 67<iframe> Embedding other webpages in your webpage4:16
- 68Creating forms and understanding how they work11:17
- 69Creating form - continued6:41
- 70Using external CSS libraries in your projects6:42
- 71Conclusion and next steps3:28
HTML Cheatsheet
- Download HTML Cheatsheet (PDF)
- Star HTML Cheatsheet on Github
- Share HTML/CSS Cheatsheet Link: https://ilovecoding.org/blog/htmlcss-cheatsheet
CSS Cheatsheet
- Download CSS Cheatsheet (PDF)
- Star CSS Cheatsheet on Github
- Share HTML/CSS Cheatsheet Link: https://ilovecoding.org/blog/htmlcss-cheatsheet
Video Transcript
So far you have been writing HTML elements but one question may arise is that How do I remember all of these elements? That is a great question since there are many of them.
As you can see above, In the cheat sheet provided, you have a section with the most commonly used HTML elements.
In this course, we are going to go through all of them, and just with these elements, you are going to have enough knowledge to make fancy websites.
Besides this HTML Cheatsheet, there are two additional resources I want to share with you:
Useful references
Mozilla
Besides the cheat sheets provided if you want even more information, just google for "HTML reference".
You'll find the third result to be the Mozilla HTML elements reference, so just ignore all the previous ones.
Basically, Mozilla is the same organization that created the Firefox browser. They are also collecting a lot of information and building a great reference of many things related to technology and web development, including JavaScript, HTML, CSS, and others as well.
If you simply scroll down after accessing the page, you'll be able to see the different elements that you can use in HTML as displayed above. There is information about the <html> element, <link>, <meta>, <title>, <style>, <body>, and many others organized by different sections of usage.
Of course, right now it may not make a lot of sense to you but as you finish the course all of this is going to make sense, and you can navigate through different explanations on the elements and have a pretty handy example of use of that element. But worry about it right now, it is just a reference that you can use it later.
After clicking any element that you want to know some information about, you'll be able to see the code of a very handy example of how to use that element, and what it's going to do.
Mozilla HTML Reference is a very handy resource that you should bookmark.
One important rules I want to emphasis on is:
Do not want to commit to memory anything that can be looked up in a book.
...and this same concept applies for HTML and any other coding language that you are learning. You do not want to memorize these things. I have never memorized it. Whenever I want to look up something I simply google it, and look at the authentic sources just like Mozilla Documentation or some other website depending on the technology that I'm looking into.
Stack Overflow
Another very handy resource to know about is Stack Overflow. Stack Overflow is a question and answer website for developers, and it's another great reference that you can use.
You can look for your questions directly in the search box of the website as shown above in the results, or you can google for "stackoverflow" and the question that you have.
Let's say that you have a question about the HTML paragraph tag, this is how you should search on Google to see the results from Stack Overflow:
Do not attempt to memorize it, these concepts are automatically going to ingest in your brain the more you use it. The more you practice, the more it will become second nature.
That's pretty much it, I will talk to you in the next lesson.