front-end-developer_1_
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Front-End-Developer - Level 1<br />
Block elements<br />
Embedded Video: https://www.youtube.com/watch?v=Rp7zt-d_wHs?rel=0<br />
The first thing we need to learn is how to make simple web pages using HTML, which stands<br />
for HyperText Markup Language. HyperText is a nerdy word for a link, a markup language is<br />
a language that lets you insert instructions within the text that you write, and HTML is the<br />
language web browsers translate into the web pages you see on your screen. Now, we're<br />
going to start writing our first HTML!<br />
With my-first-webpage.html open in a text editor, let's start by typing the following code.<br />
Don't type the my-first-webpage.html bit at the top - that's just telling you what file the<br />
following code goes in.<br />
my-first-webpage.html<br />
This is my first web page!<br />
Isn't it nice?<br />
The is called a p tag, and it means that everything that follows is a paragraph, until<br />
is reached. The is called a closing tag or <strong>end</strong> tag.<br />
Now, if we open the file in a web browser (by double-clicking it), we have two paragraphs of<br />
text. We just wrote our first HTML code!<br />
Now, let's add some more stuff to the page:<br />
my-first-webpage.html<br />
My first web page<br />
Written with the guidance of Opteamize Coding School<br />
This is my first web page!<br />
Isn't it nice?<br />
Here, we've added a main header ( ) and a subheader ( ). You can actually add<br />
up to six different levels of headers using through .<br />
HTML ignores spaces and blank lines, which together are called whitespace. That's why the<br />
extra line between our headers and paragraphs doesn't do anything. We could take it out, or<br />
make it three spaces, and it would look exactly the same in the browser.<br />
Let's add some elements to our page:<br />
Block elements<br />
25