HTML & CSS Crash Course Tutorial #1 - Introduction

Net Ninja
9 Jul 201919:59

Summary

TLDR本课程将带你系统学习HTML和CSS网页前端开发的基础知识,包括HTMl标签语法、CSS样式语法、网页开发环境搭建、开发调试工具使用方法等。通过动手实践的过程你将最终完成自己的第一个响应式网站Mario Club,这是一个现代简约风格的网站。本课程适合零基础的初学者。

Takeaways

  • 🎉 这个课程是一个综合的HTML和CSS初学者友好课程,旨在用更现代的特性更新原有的教程。
  • 👩‍💻 HTML(超文本标记语言)用于网页内容的结构化,如文本、图片和表单,通过HTML标签来实现。
  • 🎨 CSS(层叠样式表)与HTML配合使用,用于样式化网页,让内容看起来更好。
  • 🌐 课程将涵盖从基础到高级的内容,包括HTML5的新特性和响应式移动设计。
  • 🛠️ 教程还包括如何在计算机上设置开发环境,以及如何创建第一个HTML网页和使用CSS美化它。
  • 📚 对于初学者,课程将从HTML和CSS的基本概念讲起,无需先前的编码经验。
  • 🚀 通过最终项目“Mario Club”将学到的所有内容整合在一起,展示一个简洁现代且响应式的网站。
  • 🖥️ 强调了使用现代文本编辑器(如Visual Studio Code)和浏览器(推荐Google Chrome)的重要性,以及安装有用的扩展(如Live Server)。
  • 💡 讲解了HTML文档的基本结构,包括doctype声明、head标签和body标签的用途。
  • 🔍 展示了如何使用浏览器的开发者工具来检查和理解网页的HTML和CSS代码。

Q & A

  • 为什么作者决定更新HTML和CSS系列课程?

    -作者认为原有的播放列表有些过时,大约4年未更新,因此决定更新课程以包含更多现代化的特性。

  • 这门课程是为哪类学习者设计的?

    -这门课程是为完全初学者设计的,特别是那些对成为前端开发者感兴趣的新手。

  • HTML和CSS为什么要捆绑在一起教授?

    -HTML和CSS是密切相关的,一起教授可以更有效地帮助学习者掌握如何创建网页。

  • 课程的最终项目是什么?

    -最终项目是一个名为“Mario Club”的现代简约网站,它展示了多种HTML和CSS特性,并且对移动屏幕和大屏幕都有良好的响应性。

  • HTML和CSS分别是什么?

    -HTML代表超文本标记语言,用于结构化网页上的内容,如文本、图片和表单等。CSS代表级联样式表,用于美化网页,定义内容的样式如颜色、字体大小等。

  • 开发环境应该包含哪些基本组件?

    -开发环境应该包括一个好的文本编辑器和一个现代浏览器,用于编写代码和预览工作成果。

  • Visual Studio Code有哪些特点?

    -Visual Studio Code是免费的,适用于Windows和Mac,带有许多有用的包,可以简化编码过程。

  • 如何在浏览器中预览HTML文件?

    -可以通过在文件资源管理器中双击HTML文件或使用本地开发服务器并通过HTTP协议来预览。

  • 为什么使用Live Server包?

    -使用Live Server可以通过HTTP协议查看页面,并且每次文件保存时都能实现自动刷新,提高开发效率。

  • Google Chrome开发者工具有什么用途?

    -Google Chrome开发者工具可以帮助开发者检查和调试网页元素,理解网页是如何构建的,以及进行样式调整。

Outlines

00:00

🌐 开始学习 HTML 和 CSS

这一部分介绍了课程的目的,主要是为了更新和整合HTML和CSS的教程,使其更适合初学者。该课程将两者结合在一起,因为它们密切相关。课程目标是使学生能够快速掌握HTML和CSS,从而能够创建自己的网站。课程将涵盖基础知识,包括HTML和CSS是什么,如何设置开发环境,如何创建第一个HTML网页,并用CSS美化。还会讨论HTML5的新特性和响应式移动设计,最后通过一个名为'Mario Club'的网页项目将所学内容整合在一起。

05:03

🎨 HTML 和 CSS 的基本概念

这一部分详细介绍了HTML和CSS的基本概念。HTML(超文本标记语言)用于网页内容的结构化,例如文本、图片和表单,通过使用HTML标签来实现。而CSS(层叠样式表)则用于美化网页,定义网页的颜色、字体大小、布局等。讲解者将HTML比作建筑的结构,而CSS则像是装饰。通过展示HTML内容与和CSS应用后的对比,强调了CSS在网页设计中的重要性。

10:04

🔧 设置本地开发环境

这一部分指导学生如何建立本地开发环境,包括选择合适的文本编辑器和浏览器。讲解者推荐使用Visual Studio Code作为编码工具,并提供了其他编辑器的选项。强调了使用现代浏览器(如Google Chrome)的重要性,因为它提供了开发工具。演示了如何在Visual Studio Code中创建和打开项目文件夹,并介绍了如何使用扩展程序,如Live Server,以便在保存更改时自动刷新浏览器。

15:04

👩‍💻 编写和预览HTML代码

本部分讲述了如何开始编写HTML代码。首先介绍了doctype声明,然后是HTML、head和body标签的基本结构。讲解者演示了如何在body标签中添加内容,并在浏览器中预览。讨论了开发者工具的使用,特别是如何通过右键点击元素并选择'Inspect'来查看和了解网页元素。最后,讲解者强调了HTML的标签结构以及它们在网页中呈现内容的方式。

Mindmap

Keywords

💡HTML

超文本标记语言。用于在网页上结构化内容,如文本、图像和表单。包含不同的标签来表示不同类型的内容。HTML 提供了网站的基础结构。

💡标签

HTML 中的标签用于表示不同类型的内容,如段落、链接和图像。标签通常由开标签和闭标签组成。闭标签中包含一个斜杠。标签告诉浏览器应该如何显示内容。

💡CSS

层叠样式表。与 HTML 一起使用为网页添加样式和设计。允许自定义内容的颜色、字体、布局等。HTML 提供内容,CSS 提供样式。

💡文本编辑器

用于编写 HTML 和 CSS 代码的程序。比较流行的有 Visual Studio Code、Sublime 和 Atom 等。文本编辑器通常需要安装一些插件来提高开发效率。

💡浏览器

用于预览和浏览网页的程序。流行的浏览器包括 Chrome、Firefox 和 Safari。网页开发中通常使用 Chrome 浏览器并配合开发者工具来辅助开发。

💡开发者工具

浏览器自带的一组工具,可用于检查网页代码、调试问题等。右键点击页面元素并选择“检查”可以打开开发者工具并检查该元素的代码。

💡本地服务器

在自己计算机上运行的一个小型服务器,用于测试网页。比直接打开 HTML 文件更为方便,可以实时自动刷新预览。Visual Studio Code 中可以通过 Live Server 插件实现。

💡文件夹结构

将不同类型的文件分类存放,以保持项目的组织性。通常 HTML 页面会放在根目录,CSS 和 JavaScript 文件会放在 separate 的文件夹中。良好的文件夹结构有助于管理项目。

💡代码缩进

通过空格或 tab 键将代码进行整齐地缩进对齐。提高代码的可读性和易维护性。缩进需要保持一致。大多数文本编辑器会自动生成缩进。

💡HTTP

超文本传输协议。互联网传输数据使用的主要协议。使用 HTTP 协议访问网站,而不是 file 协议直接打开本地文件。本地服务器就是一个支持 HTTP 协议的小型服务器。

Highlights

HTML is a markup language to structure content on a web page and CSS styles web pages

The body tag contains visible page content and the head tag contains metadata

We can preview web pages in a browser using a local development server

Transcripts

play00:00

hey young and welcome to your very first

play00:01

step in becoming an HTML and CSS and

play00:04

ninja ok the gang so I've decided to do

play00:12

a complete update of my HTML and CSS

play00:15

series and bundle them into one complete

play00:18

beginner friendly course because I think

play00:21

the old playlists are a bit out of date

play00:23

now about 4 years old and I wanted to

play00:25

rebuff them to include some more modern

play00:27

features and I also want to keep this

play00:29

channel really accessible to new

play00:31

developers and I wanted to create a kind

play00:33

of entry point a series for new front

play00:35

end developers to come along and get the

play00:37

basics the lowdown of HTML and CSS so if

play00:41

you're a new web developer this is the

play00:43

place to start so rather than do a whole

play00:46

course for HTML and a whole separate

play00:48

course for CSS I've bundled these two

play00:50

together because they do go hand-in-hand

play00:52

very much so this course is designed to

play00:55

get you up and running with both of

play00:56

these HTML and CSS in no time so that

play01:00

pretty soon you can start making your

play01:01

own awesome websites so that in this

play01:04

course we're going to be working from

play01:06

the ground up and I presume that you

play01:07

don't have any or you have at least very

play01:10

little experience with coding so we're

play01:12

going to cover all of the basics from

play01:14

the start what HTML and CSS actually are

play01:17

and I'm also going to show you how to

play01:18

set up a development environment on your

play01:21

computer I'm going to show you how to

play01:23

make your first HTML web page and also

play01:25

how to make that web page look awesome

play01:27

with CSS now we're also going to be

play01:30

talking about newer more modern html5

play01:33

features to bring your code up into the

play01:35

present day and we're gonna be touching

play01:37

our responsive mobile design as well and

play01:39

then finally we're going to bundle

play01:40

everything together that we've learned

play01:42

to make a web project from scratch and

play01:46

that project is gonna look something

play01:48

like this it's called Mario Club and

play01:50

features Mario over here and it's a nice

play01:53

modern simple website uses loads of

play01:55

different HTML features loads of

play01:57

different CSS features as well and it's

play01:59

also fully responsive so it looks pretty

play02:02

good on mobile screens as well as larger

play02:04

screens so we're going to be putting

play02:06

everything together that we learn

play02:07

throughout this course into this final

play02:09

project over here so without further ado

play02:12

let's dive

play02:13

writing okay then so before we start to

play02:15

code anything whatsoever I just want to

play02:17

take a few minutes to talk about what

play02:19

hTML actually is and also what CSS is

play02:22

just so we've got a vague overview of

play02:25

what these two things are before we dive

play02:26

into the code so HTML first of all it

play02:30

stands for hypertext markup language

play02:32

HTML that's where we get the name from

play02:35

and it's a markup language not a

play02:37

programming language so we use HTML to

play02:40

structure content on a web page things

play02:43

like text images and forms and all that

play02:45

kind of just and we do that by using

play02:47

what's known as HTML tags now text

play02:51

represent different types of contents or

play02:53

information on a web page for example

play02:54

we'd have a certain tag for an image a

play02:57

certain tag for a form or paragraph text

play02:59

etc now you might also hear these being

play03:02

described as HTML elements but they are

play03:04

pretty much one and the same thing now

play03:07

if we take a look at some sample text we

play03:09

can see some of them like the paragraph

play03:11

tag they have an opening tag and a

play03:13

closing tag with some information in

play03:15

between them so that's the opening and

play03:18

closing same with the anchor tag these

play03:20

are four links opening and closing and

play03:22

the closing tag has this forward slash

play03:23

before the letter that represents that

play03:25

tag now a lot of tags use this opening

play03:29

and closing tag structure but some of

play03:31

them just have one tag for example the

play03:34

image tag right here now don't worry

play03:36

about remembering all of these different

play03:38

tags at the minute we're going to do all

play03:39

of that later on I'm just giving you a

play03:41

quick overview so imagine this is the

play03:44

HTML content that makes up a part of a

play03:46

web page if we were to view that in a

play03:48

browser it could look something like

play03:50

this so the paragraph text is rendered

play03:53

at the top like that the link is right

play03:55

here and the image is at the bottom so

play03:58

when we view a web page in a browser

play04:00

it's just an HTML file that we're

play04:02

viewing so we use these different kinds

play04:05

of tags inside the HTML file to tell the

play04:07

browser what type of content we want

play04:10

each part of the document to be and the

play04:12

order that it should be in then the

play04:14

browser renders that HTML content into a

play04:16

viewable web page that we can browse

play04:18

online so hTML is the core language that

play04:22

provides the backbone of a website and

play04:24

it's all to do with how we store

play04:26

content using these different types of

play04:28

tags now CSS is the second part of the

play04:32

puzzle when it comes to building

play04:33

websites on web pages and it stands for

play04:36

cascading style sheets now we'll talk

play04:38

about why it's called this later on but

play04:41

essentially CSS is a separate language

play04:44

that goes hand-in-hand with HTML and

play04:47

what we do is you CSS to style our web

play04:50

page and make them look even better

play04:52

so HTML alone just structures the

play04:55

content that we want to show on a web

play04:57

page but CSS is what makes that content

play04:59

look better so we've used CSS in

play05:02

conjunction with an HTML file to tell

play05:04

the browser things like what color

play05:06

different bits of content on a page

play05:08

should be or what font size the

play05:10

different headings or paragraph text

play05:12

should be whether something should be on

play05:14

the left or the right of the page or

play05:16

maybe what the background image of the

play05:18

webpage should be so whereas hTML is

play05:21

very much to do with providing the

play05:22

actual content and structure to the

play05:24

browser CSS then takes on the role of

play05:27

styling that content so much like a

play05:30

builder would form the structure of a

play05:32

house a painter and decorator would then

play05:34

come in and style it to make it look

play05:36

nicer so imagine we had some HTML before

play05:40

CSS applied to it might look like this

play05:42

in the browser and then CSS applied to

play05:45

it it would look like this in the

play05:46

browser so much much nicer so these are

play05:49

the two languages that we're going to be

play05:51

looking at in depth in this course and

play05:53

by the end you should be able to use

play05:55

both of them to build your own

play05:56

well-structured websites which look

play05:59

awesome as well ok then gang so the

play06:01

first thing we need to do before we

play06:03

write any code is to set up a local

play06:05

development environment to work with and

play06:07

by that I generally mean just have a

play06:10

good text editor to code in and a modern

play06:12

browser to preview your working so

play06:15

there's loads of different text editors

play06:18

that you can use for web development and

play06:20

which one you use is down to your

play06:22

preference in your preference along

play06:23

there is no right or wrong text editor

play06:26

to use I like this one at the minute

play06:29

visual studio code but I do flip between

play06:31

different ones when I feel like it but

play06:34

this one is completely free for Windows

play06:36

or Mac and it comes with a load of nice

play06:39

pack

play06:40

as well that we can install to make

play06:41

coding easier so that's what I'll be

play06:44

using and if you want to follow along

play06:46

exactly like I do and use the packages

play06:49

that I do as well and I would advise you

play06:51

to do that if you're a beginner then go

play06:53

ahead and download this or right here to

play06:56

get it you just need to go to code

play06:57

visual studio comm the link is going to

play07:00

be down below but if you don't want to

play07:03

download this you could also use a

play07:04

different text editor sublime is a

play07:07

popular one which is also free well the

play07:09

preview version is free and then it asks

play07:11

you to buy it after a while so you can

play07:14

get that right here at sublime text comp

play07:16

the link to that is going to be down

play07:17

below as well another good one is Atem I

play07:20

used to use this but I found that it

play07:22

started to get a bit slow on startup but

play07:24

again it's a really nice clean text

play07:27

editor that you can install packages for

play07:29

so if you want to download that go to

play07:31

attempt dots i/o and grab it right here

play07:34

or if you prefer a no-frills approach

play07:36

you could even use something like

play07:38

notepad plus a plus I know a lot of

play07:40

people that still use something like

play07:41

that there's nothing wrong with this I

play07:43

prefer to have all of the extras in a

play07:46

text editor which is why I go for

play07:48

something like this vs code so choose

play07:51

your text editor doesn't really matter

play07:54

which one for now they're all going to

play07:55

work the same but I am going to be using

play07:56

a couple of packages inside Visual

play07:59

Studio code so again if you want to

play08:01

follow along exactly with me make sure

play08:04

you get this one or right here so

play08:07

secondly you want a good modern browser

play08:10

to preview all of your working I

play08:12

personally think that Google Chrome is

play08:14

the best one to developing and so

play08:16

preview your work in so if you want to

play08:18

download that go to google.com forward

play08:20

slash Chrome it's also going to come

play08:23

with a load of developer tools that

play08:24

we're going to talk about later on as

play08:26

well so again if you want to follow

play08:27

along exactly with me make sure you

play08:30

download this okay then so once you've

play08:32

downloaded and installed your text

play08:34

editor boot it up and it's going to look

play08:36

something like this

play08:37

this is visual studio code if you're

play08:40

opening it for the first time then you

play08:41

probably will see some kind of welcome

play08:43

screen which you can cross off that's

play08:45

fine if you're using a different text

play08:47

editor it's going to look something like

play08:48

this with a file tree on the left over

play08:51

here and the coding window on the right

play08:53

so what we need to do first of all

play08:55

inside Visual Studio code is to open a

play08:57

folder so let's open one I've already

play09:00

created a folder nothing inside it so

play09:02

I'm going to select that for now and we

play09:05

should see that over here so this is the

play09:07

welcome screen again I'm going to cross

play09:09

that off and now we can start to create

play09:12

files inside this folder so typically

play09:14

when we open a folder inside Visual

play09:16

Studio code like this that folder could

play09:18

represent our project or website and

play09:20

then all of our different files my HTML

play09:23

and CSS would go inside this folder on

play09:26

the Left overhead so the first thing I'm

play09:29

going to do is create a new file now we

play09:31

can do that in two ways

play09:32

either click on this thing right here

play09:34

this new file icon or right click and go

play09:37

to new file and I'm going to call this

play09:39

index dot HTML so when we create an HTML

play09:43

page it has to end in this extension dot

play09:46

HTML that's kind of defines it as an

play09:49

HTML file now it's always a good idea as

play09:53

well to call your homepage HTML file

play09:55

index dot HTML and that's because when

play09:58

you navigate to a website such as my

play10:01

website com

play10:02

it's going to look in the root directory

play10:03

for an index dot HTML file and if it

play10:06

exists it's going to serve that up to

play10:08

the browser so this is kind of like the

play10:10

default home page file name if you like

play10:12

ok then so now we have our first HTML

play10:16

page we can actually start to write some

play10:18

HTML code inside it so again remember

play10:21

this is just going to be a series of

play10:23

tags inside this file and those tags are

play10:26

represent different things now the first

play10:29

tag we should always use is the doctype

play10:32

tag and that defines this document as an

play10:34

html5 document and tells the browser

play10:36

this so it can render it correctly so to

play10:39

do that open your angle brackets that's

play10:41

how we open a tag or starter tag then we

play10:44

want an exclamation mark and then doc

play10:47

type and then HTML so this is a tag

play10:51

called doctype and it's a very peculiar

play10:54

type of tag it's probably the only tag

play10:56

that starts with this exclamation mark

play10:58

inside it and it basically just says

play11:00

look this is an HTML type so always put

play11:03

that at the start of your HTML files now

play11:06

the net

play11:07

thing we need to do is an HTML tag so

play11:09

HTML like so and notice this whenever I

play11:12

create a tag inside vs code then it

play11:15

automatically creates the closing tag

play11:17

for me which is nice so this HTML tag

play11:21

right here this is kind of like the root

play11:22

tag of our documents we have this at the

play11:26

top then we have an HTML tag which

play11:28

surrounds everything else now inside

play11:30

here we also have a head tag so let's do

play11:33

that and I'm going to come back to that

play11:36

in a second but also a body tag

play11:38

now the body tag everything inside this

play11:42

this is the stuff that actually gets

play11:44

rendered to the browser so the things

play11:47

that we see in the browser now stuff

play11:49

inside the head over here this is just

play11:52

extra information about the website such

play11:55

as metadata or a title that goes at the

play11:58

top of a browser over here this thing

play11:59

here at the top of the tab this is the

play12:01

title so we can specify things like that

play12:04

inside the head but none of this

play12:06

actually gets rendered to the page

play12:08

itself that we can see inside the

play12:10

browser that all goes inside the body

play12:13

tag so let's start with this head and

play12:16

let's just create a title tag first of

play12:19

all and remember this title is what

play12:21

defines this stuff in the top so let's

play12:24

call this learning HTML and save it and

play12:29

now we want to preview this in a browser

play12:31

so what we could do is right click over

play12:34

here and we could go to reveal in

play12:36

Explorer and then we get this window

play12:39

over here if you double click on an HTML

play12:41

file it's going to open that up in a

play12:43

browser for us and we can see the path

play12:46

to this HTML file now this is using the

play12:50

file protocol and we can also use

play12:52

something else called a local

play12:54

development server so that we can view

play12:55

this over an HTTP protocol which is what

play12:58

we actually view websites on but I'll

play13:00

show you that later for now we're just

play13:03

previewing this HTML file over here in

play13:05

the browser now there's nothing inside

play13:07

the page just a blank canvas at the

play13:09

minute but we do see this title at the

play13:11

top learning HTML and that is coming

play13:14

from here where we specify ok then so

play13:17

that's the title now let's actually add

play13:20

some content

play13:21

the body the stuff that shows inside the

play13:23

browser so what I'm gonna do is create

play13:26

ap tag first of all oops not in capitals

play13:29

so lowercase P now I want you to notice

play13:32

another thing that I've been doing here

play13:34

notice I've been indenting these tags

play13:38

right here so I've not started them over

play13:40

here and over here I've indented them

play13:43

and that's a convention when you're

play13:45

writing HTML files you don't have to

play13:47

it's still gonna work exactly the same

play13:49

if you do this however for readability

play13:52

it's always better to indent like that

play13:55

using tab and actually mvs code whenever

play13:57

we enter down into a new tag it Auto

play14:00

indents for us because that's what we're

play14:02

meant to do okay

play14:03

so inside this paragraph tag I'm gonna

play14:06

say hello ninjas and I'm gonna save this

play14:10

and then in the browser if we just

play14:12

refresh we should see that right there

play14:14

very small hole so I'm gonna zoom in so

play14:17

we can see that hello ninjas right there

play14:19

so right now if we want to make a change

play14:21

and then preview it all we have to do is

play14:23

just add something over here so I'll do

play14:25

another P tag like so and then inside

play14:28

I'll save my first web page and then I'm

play14:32

going to save this first of all ctrl s

play14:34

and that over here

play14:35

I'll have to refresh to see them now I

play14:38

mentioned before that we could use a

play14:40

local development server to view this

play14:42

over HTTP instead of the file protocol

play14:45

now you might not know what that means

play14:47

really but basically HTTP is the

play14:49

protocol that we use to communicate with

play14:51

servers to view websites now we don't

play14:54

really need to know that much about it

play14:56

at the time being but if we install a

play14:59

package in vs code over here to spin up

play15:02

a local development server it means we

play15:04

can use that protocol and what it also

play15:06

means is that when we save something

play15:09

over here it's gonna live refresh it for

play15:12

us automatically so that we don't have

play15:13

to so it's much easier to save and

play15:16

preview save and preview without having

play15:19

to refresh the page so I'm going to show

play15:22

you that package what you want to do is

play15:24

click on this bottom icon down here for

play15:26

the extensions in vs code and then you

play15:29

want to search for this live server

play15:31

package just up here so search for live

play15:33

server like

play15:34

now I've already got that installed so

play15:38

if you click on it there should be an

play15:39

install button right here instead of

play15:41

uninstall and if you press that it's

play15:44

going to install it to vs code for you

play15:46

after it's installed it might prompt you

play15:49

to restart vs code so do that and then

play15:52

come back to your file now to get back

play15:54

to the file tree over here just click on

play15:55

the top icon over there now once that's

play15:58

installed what you can do is right-click

play16:00

anywhere inside an HTML file it has to

play16:04

be an HTML file because that's what we

play16:05

view in a browser and then we can go

play16:08

down to open with live service so if I

play16:10

click this then it's going to open up a

play16:12

browser over here and now you can see

play16:15

it's exactly the same content but this

play16:17

time we're using an HTTP protocol and

play16:20

we're serving this on this right here

play16:23

this is otherwise known as localhost you

play16:26

don't need to know the ins and out of

play16:27

this just yet just know that we're using

play16:29

now what's known as a local development

play16:31

server and that's how simple it is so

play16:33

now if we make a change so I could

play16:36

change this to hello world and save that

play16:39

I don't have to refresh over here it

play16:41

automatically refreshes for me every

play16:44

time we make a save to the file so

play16:46

that's nice and that's how I like to

play16:48

work now you don't have to use this

play16:50

instead if you prefer to just open it up

play16:52

like this how we did before that's

play16:55

absolutely fine as well you'll just have

play16:57

to keep on refreshing if you want to see

play16:59

the page update okay so now we've

play17:03

created this simple HTML file over here

play17:06

and that is all there is to it really

play17:08

it's just a series of different tags

play17:11

that make up a web page now we're going

play17:14

to see more tags later on but for now in

play17:16

this video there's one more thing I'd

play17:18

like to show you and that is how to

play17:21

inspect an element inside the web page

play17:24

so what I mean by this is right clicking

play17:27

something and then going to inspect at

play17:29

the bottom now when you do this it's

play17:31

going to open up something that looks

play17:33

like this on the right side of the page

play17:35

so let me just zoom in and we can see

play17:38

right here that we have our HTML outline

play17:41

so it's showing us the HTML right here

play17:44

ignore this this is being injected by

play17:46

the live server package we

play17:48

stalled but this right here this is our

play17:50

HTML that we created so this whole thing

play17:53

that opened up over here this is the

play17:55

Google Chrome developer tools panel and

play17:57

there's loads of different useful stuff

play17:59

inside here that's going to help us to

play18:01

develop websites and we're going to take

play18:03

a deep dive into this and the different

play18:05

useful things that it provides a later

play18:07

on for now I just wanted to show you how

play18:09

you could right-click an element over

play18:11

here inspect it and that's going to show

play18:13

you the code over here in the developer

play18:15

tools panel for example if I open a new

play18:18

tab now and go to the net ninja code at

play18:21

UK and I'll right-click go to inspect

play18:24

then I can see how this code is made so

play18:28

if I'm ever wondering on a website how

play18:30

they've done something or how they've

play18:31

coded something I can just right-click

play18:33

that element and I can see how they've

play18:36

created that HTML code right here and

play18:38

again I can use all of these different

play18:40

features inside the developer tools to

play18:42

kind of reverse engineer this website if

play18:44

you like so again we're going to take a

play18:46

look at this in a lot more depth later

play18:48

on for now I just wanted to introduce

play18:51

you to it okay they're my friends so

play18:53

that is your introduction to this course

play18:55

HTML and CSS and we've learned a few

play18:58

things first of all we've seen that HTML

play19:00

is a markup language to structure

play19:02

content on a web page and I also said

play19:05

that CSS was a language that we used to

play19:07

style a web page and the two worked

play19:09

together in tandem now we've also seen

play19:11

how to use vs code to open a project

play19:13

folder and create our first HTML file

play19:15

we've talked about what tags are a

play19:17

little and we've seen a couple of basic

play19:19

ones in action and we also know that the

play19:22

body tag is for visible page content and

play19:24

the head tag is for page information

play19:27

like the title finally we've seen how to

play19:30

preview a web page in a browser either

play19:32

by double-clicking on that HTML file in

play19:34

the file explorer or by using a local

play19:37

development server with a live reload so

play19:41

next we'll dive deeper into the language

play19:43

and we're going to talk more about all

play19:45

of these different HTML tags that make

play19:47

up a web page

play19:53

you