30/03/2020
Do you want to learn how to code?
Whether you want to build your own website from scratch or customize a template so you can stand out, you need to understand and learn the basics first.
When you start from scratch, this is the first thing you need to code:
But, you’re probably wondering 🤔 “Stef, what does this all mean?”, let me define it for you:
The declaration defines this document to be HTML5. Doctype stands for Document Type Declaration. It informs the web browser about the type and version of HTML used in building the web document. This helps the browser to handle and load it properly.
The element is the root element of an HTML page. Also known as the main root.
The element contains meta information about the document. It’s used to contain specific information about the web page. Often referred to as metadata. Metadata typically define the document title, character set, styles, scripts, and other meta information.
The element specifies a title for the document and is shown in a browsers title bar or a page tab.
The element contains the visible page content such as text, hyperlinks, images, tables, lists, etc.
The element defines a large heading. H1-H6 represents six levels of section headings. H1 is the highest (biggest font), and h6 is lowest (smallest font).
The element defines a paragraph.
If you swipe to the last page, you’ll see I’ve shown you an example of what the code looks like on a web page. It’s an empty page with the heading and paragraph text.
As you can see we have a lot more to learn. This is only the beginning. Make sure to save this so you can come back to it later and name it “coding with Stef”.
Was this helpful? When it comes to coding, what is it that you want to learn how to do? Let me know in the comments below! ✨
@ Miami, Florida