Web Design Course Online: Learn Web Design Online

A Free Introduction to Building Websites

Discover the nuts and bolts of building a website from scratch in this free seminar. Learn about HTML and CSS, how they layout and style web content, and get a glimpse into the comprehensive certificate program we offer.

Key Insights

  • The seminar provides an introduction to HTML and CSS, essential tools for web designing.
  • Participants will learn about the process of designing and executing a website, from concept to live launch.
  • Recommendations will be given on the best software to use for website creation.
  • Attendees will be guided on marking up content with HTML and styling text with CSS.
  • The seminar covers tips on optimizing graphics for the web, including SVG and JPEG files.
  • Insights into the proper ways to name your files and the correct file structure for your website will be shared.

Topics Covered

  • Where to Get Started

    Overview of the creative process from design through execution.

  • HTML + CSS Basics

    Marking up content with HTML; styling text and layout with CSS.

  • Optimize Graphics

    Choosing SVG vs JPEG vs PNG — and properly naming files.

  • Upload via FTP

    Going live — uploading your site to a host so the world can see it.

Thinking about learning to code or create a website? In this free seminar, you’ll learn how websites are designed and built from scratch and get step-by-step instructions for what we demonstrate in the class. 

You’ll get an introduction to HTML and CSS and see how they are used to layout webpages and style content. We will upload a site to make it live for the world to see! You'll also learn about how our certificate program teaches everything from code to graphics.

Web Design Certificate: Live & Hands-on, In NYC or Online, 0% Financing, 1-on-1 Mentoring, Free Retake, Job Prep. Named a Top Bootcamp by Forbes, Fortune, & Time Out. Noble Desktop. Learn More.

Here are some of the topics we’ll cover:

  • Where to get started
  • An overview of the creative process from design to execution
  • What software should you use?
  • Marking up content with HTML
  • Styling text and more with CSS
  • Optimizing graphics for the web (SVG, JPEG, etc)
  • Proper ways to name your files
  • Proper file structure for your website
  • Uploading the live website via FTP

Video Transcription:

all right so hello and welcome everyone my name is Dan Rodney and I'm gonna be here teaching double desktops seminar for getting started in web design if you aren't familiar with noble desktop we're a training center located in New York City and we also teach all of our classes live online as well so you can tune in from anywhere but our classes are done live interactive and tonight we're doing this live stream of getting started in web design before we dive in and go through a couple slides here most of tonight is going to be demonstration of me showing you how to actually create a website so by the end of the seminar I will have made a little website and made it go live

and you can see that whole process so instead of me just talking about it showing you will make this a lot more real so that you understand exactly what's what's going on so for the coding portion of that there is a downloadable step-by-step exercise so this link here which is noble desktop com slash presentation slash web design for those of you who are attending live here I'm going to paste this into the chat if you're watching this on a recording this will be down below the video in if you're on YouTube this will be in the video description and if you're on our blogpost it'll be somewhere in the blog post as well so so you can access this we'll keep this page up and you

can download an exercise which is step by step it walks you through the coding portion of what I'm gonna be showing tonight so it has you download the class files which you can get on our website and then it goes step by step through the coding portion of tonight so literally walks you through the process of doing what I'm gonna do coding the website so you don't have to remember every single step we've already written that exercise for you which is a great reference for later so that can be the hands-on portion so after you watch this demonstration if you want to practice it yourself you can do that exercise and that's a sample of what we do in our web design classes so

basically the class format is that we teach you something explain how it goes and then you do an exercise this is going to be a longer demonstration than it normally would be just because this is a free seminar that we're giving so we want to go through the whole process of creating a website so normal normally we'd break it down into smaller bits when we're doing an in-person or live online class when you're doing a one of the paid classes this slide deck right here is an interactive thing that you can use your arrow keys to go left and right or the arrows down here at the bottom left sorry bottom right here you can adjust those and I'll spend just a little bit of time going

through a couple concepts and then I'll dive in and actually show you how to code a website so by the end of the seminar you'll see a website go live and that'll give you a better idea of how to make a website and how to get started getting into web design so when you think about a website that things that you need for a website is you need graphics and you need a design so basically you need a plan so you need to know what it is that you want to build and that's the design portion of its you also need to create the graphics the photos the icons logos that sort of stuff to put into the website and then you can take that design and those graphics and you can code them to make

a fully functional website that works in your web browser so that's what you need to do to create a website you also need to get a host and things that we'll talk about a little bit later but fundamentally you're gonna design you're gonna create graphics and you're gonna write code that's what a web designer essentially does where I web developer and so if you're getting into the design aspect of it so when you say I'm a web designer some web designers are purely aesthetic designers and they don't know code and then there's other web designers that do know code if somebody says I'm a web designer I'd have to ask them whether or not they know code if somebody says I'm a web

developer then that does mean that they do know code and they probably don't know design but some web developers do have some design skills some some do not but if I if somebody identifies as a web developer that primarily means they're our coder but a web designer could be generic they might or may not no code but I think it's important for any web designer to know code typically when I see great web designers they are familiar with code it doesn't mean that they're necessarily coding all day long but they may code a little bit they might code a lot it depends on the web designer in particular but Fast Company wrote up this thing learn to code even if you don't intend to

code knowing how to code will make you a better designer and a stronger candidate I fully agree with that I just wanted to put up a quote from somebody else saying it so it's not just me that you can get somebody else's word for it and a company like like Fast Company so it's not some no-name place so there's different types of coding tonight we're gonna be doing what's called front-end coding and that's stuff that works in your web browser or client side so client side or front-end coding is things like HTML CSS and JavaScript so these are the three coding languages that work in your web browser HTML marks up or labels or tags your content so think about that think about

it this way if you went to a tag sale you know a yard sale or garage sale you don't know the price of something unless there are tags on it and so the same thing happens with text if you just take a piece of text what is that is that is it a heading is it a paragraph is it a list item you don't know unless you've marked it up or labeled or tagged that content so the browser's understand what it is otherwise it's just text now CSS cascading style sheets styles your content based on that markup so if you have a heading or a paragraph you can make it look the way you want it to look positioned on the page give it font give it size all sorts of things then comes in JavaScript

so at its core every page needs to have at least HTML and CSS so you have content that's styled then as an optional thing which a lot of websites have is JavaScript and JavaScript is kind of like the lord of the web page it comes in and says I can change anything at anytime and I can kind of do anything that I want and I'm gonna sit over top of HTML and CSS and I'm gonna have you do whatever I want you to do so I can animate things I can make interactivity that if you click on this something else will show up there can be logic to test did you enter in a credit card properly did you enter in a an email properly so it kind of sits over top of your content and your styling

and it can change any of that at any point so HTML and CSS are the easier things to learn to get started with javascript is definitely a step up from that but these are the things that work in your browser to make a web page function now cool thing is once you're learning HTML and CSS and JavaScript you can use it for more than just websites for example ebooks email and even some applications use HTML CSS and JavaScript in the case of an email if you've ever gotten a nicely formatted email that's using HTML and CSS now the rules for emails are a bit different than for a web page there are some things that you need to do a little bit differently but fundamentally it's the

same coding language that you're learning you're just doing things a little bit different for an email than then a web page so the main picture here is it once you're learning HTML and CSS you can do more than just websites you can also do emails you can maybe do iBooks and so the more people use HTML and CSS the more they want to use it and so it's a very good coding language or coding languages to learn and I think that if you want to learn it that you can learn it it's not just for like the super uber computer geeks of which I I consider myself a computer geek but the cool thing about learning HTML and CSS is it's it's one of the nice entry computer languages so if you're

ever gonna learn some type of coding HTML and CSS are good ways to start learning how to code there's different types of coding or programming as I like to call them and to me coding is easier because code a code represents something so if you're doing a heading there's a code that represents a heading and so it's just a simple thing of this equals that this this tag represents a heading and it's not super high level stuff like computer programming if you're going to make a computer program that a much higher level type of programming so if you're current going to create an iPhone app or an iPad app using Swift Swift is a higher level programming language and that's going

to be more difficult and more conceptually hard to learn so whenever you're getting started with any sort of coding so if this is your first foray into coding and you've never done any coding before focus on the big picture concepts there's gonna be lots of little syntax and things that you'll need to pick up as you go through but you want to just kind of dive in and just start working with it you know you'll make mistakes you'll figure them out but when you're first learning don't worry about so much about memorizing everything immediately memorization will come eventually you'll be able to remember these things trust me I've been there I didn't remember everything in the

beginning and also you don't remember everything either because you always have Google to look up those things that you only do occasionally you want to be able to memorize the the things you do all the time because that way you can be quicker but the memorization will come so as you practice you'll eventually as you do things over and over again you will eventually memorize this stuff so you will get to a point at some point where you don't have to keep looking up like Oh what was that code for that what was that code for that but that just takes time and practice so mainly focus on like how things work and understanding that and know that the exact syntax and the memorization

that that's going to come you are learning a coding language so it's not an intuitive thing that you just pick up and say I'm just gonna wing it today and I'll be able to create a webpage just like you wouldn't say you know what I've never spoke Spanish but I'm just gonna wing it and I'm sure I'll get through this conversation no problem nobody would say that you could learn Spanish and speak Spanish same thing is you can learn HTML and CSS and you can code it but it is something you need to study and learn so that you know the proper ways to do things now I sucked at foreign languages so if you were not good at learning foreign languages don't worry for some reason I'm good

at computer languages but I'm not so great at foreign languages so if you weren't very good at languages don't don't let that scare you off so as a quick kind of synopsis here I mentioned briefly what HTML CSS and JavaScript are but those are front-end things so let me go a little bit further you right now and actually you literally you are looking at a web page right now and in the browser which is what we call the front end of a website what happens in a web browser you're seeing HTML CSS and JavaScript as I explained just a moment ago there is another back-end part which is on the web server and we'll talk more about getting a web server a little bit later on but there's

some technologies that run on the web server and some of those things are coding languages such as PHP Ruby on Rails and JavaScript and then there are things that are built with those coding languages such as WordPress WordPress is written with PHP so these coding languages they run on the server and they do certain things for example there could be a database and you want to grab things out of the database so what's a database you might ask a database is a place to store information so if you have a shop and you want to store records of all the purchases who purchased what on what date and you want to keep all those transactions where are you gonna store it that's going

to be stored in a database if you have a blog which is what WordPress is popular for and it can create also just regular websites not just only blog sites as well it's a pretty versatile platform but WordPress stores its pages and its blog posts in a database so PHP can go into the database grab some content pull it out create a page put everything together again and create dynamic pages so these things happen on the web server we're not going to get into those side that side of things today we're gonna focus on the front-end but just know that there there are a lot of different things you could potentially learn but you don't have to learn everything to get started it's

very common for people to focus on one side of this the front end or the back end for example I focus more on the front end I am familiar with some of the backend but if I'm going to typically work on a bigger site I'm gonna often work with a back-end developer so that they can do that portion and all focus on the front end and likewise for that back of developer you probably aren't that great with front end like they might know how to write a little bit of CSS but they're probably not that great with CSS so they focus on some different technologies than I focus on and on bigger projects it will be common for you to work with other developers and they can do some parts and

you can do the other parts so while you can certainly learn all of it you know sorry every single thing out there Under the Sun but you can learn a lot of different things don't feel like when you first get started that you have to know it all there it's a very deep rabbit hole that you can go in of tons of technologies for websites don't feel like you have to learn all of them to get started just start simple you can always expand and learn more things one person doesn't have to know everything just to get started building a website tonight we're gonna build a website with just HTML and CSS we're not even gonna use javascript also you might notice that javascript isn't in

both sides it used to be the JavaScript was only in the browser but as people learn JavaScript they said you know what I know this language kind of like if you know English or Spanish you kind of want in or whatever language it is you want to keep speaking that same language because you know it you don't want to have to learn another language just to speak to someone if you can avoid it if you can use your same language that you're already speaking that's going to be easier so once people learned how to write JavaScript they said you know I'd really like to do this stuff on the server and so PHP has been around for a really long time and yes I could learn PHP but but I'd

have to learn PHP so if you already know JavaScript you're like hey could I do this on the server and so eventually they allowed us to do the same types of things we do in PHP but using JavaScript and it can run on the server so there is client-side front-end JavaScript and then there's server-side JavaScript as well so it could be for both sides which means that if you get into JavaScript so that you could do both front-end and potentially back-end as you start getting into JavaScript so JavaScript is a big language that can do a lot of stuff but just shows the power of once somebody knows the language they want to keep using it so JavaScript only got more powerful over

the years not not less powerful so the first thing you're going to start with is a plan if you're gonna build a building you don't just start throwing up two by fours and hope the thing doesn't fall over you planned it out same thing typically for a website you're gonna plant it out and so for that you're going to create a design using some sort of design program the most popular programs are sketch Adobe XD and Adobe Photoshop I do hear a lot of people talking about figma but I don't see typically many design studios using it at least not yet I have seen a couple using it but not nearly as many as sketch which is the four forerunner right now and then Adobe XD is kind of

Adobe's version of sketch now sketch is a Mac only app now most designers do you typically use Mac's so if you go into web design studios a lot of a lot of designers are going to be using Mac and using sketch Adobe's version is cross-platform so it works on Mac and PC so tonight I will be showing sketch just because it is the front runner of what most people are using but Adobe XD works very similarly so if you're on Windows the same types of things basically that I'm going to be using sketch form you can do in Adobe XD as well and Adobe Photoshop even though it is a photo editor tons of designers know Photoshop and so they do create their web designs in Photoshop as well

it's not as easy to do as it is in something like sketch or Adobe XD which are dedicated to doing web design and app design and all sorts of digital to the design but you can use any of these three and figma will keep an eye on it and see if it gets more popularity I do hear a lot of people singing the praises of figma but just don't see as many Studios using it yet so we'll keep an eye on that one it's kind of more of a an up-and-comer as I see it so let me show you just a little bit about graphics I'm not going to go through and teach you a whole graphics program just because there are different ones out there there is sketch there is Adobe XD there's Photoshop so I don't

want to get into too many specifics but just the general idea of how to use these so so even if you're on Windows and you're not using a Mac that's ok just go for the general concept of these so if you're creating a new document in your design app you generally are going to create a new file and then on there you can design for various different sized screens so in the case of sketch I can insert an artboard which is basically an area where I can design and on the right hand side I can choose between some different preset sizes so if I'm designing for an Apple device or an Android device they've got a bunch of presets for all these various difference screen sizes they do

have a responsive web here and we have a desktop HD which is 1440 I could choose that and then I have an artboard here that I can design on and I can put text and photos and design anything that I want I can make this page taller of course because I'm probably going to need to add more content but this is the place that I would start to design on now I've already started a design so I'm gonna close this and I'm gonna go to my desktop and just open that up so I have this in my page designs I have a sketch file already created because the goal is not to teach you a specific design program here because it might be different ones but just to teach you more the kind of conceptual

level of what you do in the design program so you bring in your logos and your photos and you bring in your text or type out your text you style it and you make it look good and you come up with a plan of what you want to do for your website now for tonight we're gonna make a very simple website so I wanted to keep it really easy to make so it didn't choose any fancy layout or anything here just kept it really basic and really simple so just one photo one logo here and some other text which isn't too fancy formatted so this is what we're going to be I'm going to show you how to create this tonight but see you so you need to learn your design app and learn how to create a

layout and you can create as complex or as easy of a design as you want when you're doing it I just wanted to keep it simple for tonight so once you have your plan you've chosen your layouts you brought in all your graphics you've set your text you've designed everything the way that you like it all this is is just a plan it's not the actual website it's something that looks like a website but is just a design for a website the next step would be to actually convert this into an actual website so we need to turn it into code to do that now code can style things like text it can set font it can set size it can set color all that sort of stuff in space and you can create the

layouts of how big things are but what code can't create is the graphic itself so this photo that I have here I brought it in I've done some cropping to it and I want to export this image at this size with this cropping from my design app so all of our design apps can export in varieties of ways and in sketch I select this photo and on the right there's a make exportable so if I click the make exportable button there then I can choose between some of the varieties of formats for example these top ones here these are the web formats except for TIFF TIFF is not a web format actually they didn't really organize this here it's kind of a random smattering of stuff but I guess

actually I guess these are vector down here and these are pixel based up here yeah I guess that's the organization so this is a photograph photographs are best saved as a JPEG so I'm going to choose JPEG that's the most appropriate format for this we also have a logo here that was brought in from Adobe Illustrator or if you can download things online there's different icon libraries that you can download that are typically vector graphics if you're downloading things online you might find an SVG file or an EPS file but typically especially for web graphics you'll find an SVG file in fact that's what I want to create this as I want to turn it into an SVG file so i'm gonna

click make exportable there and i'm going to choose the format SVG so SVG stands for scalable vector graphic and that means that that graphic can be made at any size that I want in the web page without losing quality so it's always going to be crisp and sharp and clean no matter how big I enlarge it to so I can shrink it and and expand it and make it really any size that I want all right so so what you do is you go through and you mark the different things that you want to export and then you can export them so the text the text I'm going to leave as text and I'm just going to export the graphics because the text I'm going to recreate the styling of that through code which

we'll see in a moment all right so so now that I've marked each one of those I could select one at a time and click export selected if I want to but what I can do is at the top right I can click the export button and that's going to export all of the things that I've got in my document so I mark this as home and this as an SVG now looking at the name of this here alright so let me cancel this for a second because I see that name needs to be changed the name over here in the layers list that is the name of your file so when we're naming things for the web we don't want to use things like capital letters we don't want to use spaces so technically you can use upper and lower

case it's just best to avoid it so you don't have to worry about making sure that your case is correct when you're doing your code if everything is lowercase that's just one less issue to worry about but you definitely cannot use spaces so if you're going to use a space replace it with a dash or an underscore instead but I'm just actually gonna make this a lot simpler I'm just gonna simply call it logo because that's much easier so this will be called home this will be called logo and those layer names are gonna be used for our file names that we're gonna export so I'm gonna click the export button at the top right here again and I can see that I'm gonna export home as a

JPEG and logo as an SVG and we're good to go so I'm going to click exports and then I'm gonna put this on to my desktop here for a second and under options here we can see the quality setting for the JPEG the SVG there's no settings for it just exports it but the JPEG does have a quality setting so if you don't see that you want to make sure you show that and then you can choose the quality somewhere around 70 is a pretty good default I'm not sure what sketch normally defaults to but somewhere around 70% is good for the quality you could go up or down from here if you want to you could export your photo see how it looks and if it looks too low quality you could bump it up

in quality if it looks good you can actually try going less in quality just to see if you can get away with a lower quality the goal is you want to try to get your quality as low as you can get away with and still have your image look good the idea is that with lower quality you have a smaller file size we want the smallest file size we can get away with because that's going to make our website load faster small file sizes equal fast loading webpage if your file sizes are too big takes a long time to load that page so by reducing the quality we're getting a smaller file size and that's going to help us create a faster loading page the progressive jpg makes it load a little

bit nicer and safer web is always good because we are putting this on the web so you definitely want to check that on just to eliminate things that you don't need when creating web graphics so I click export and there we have our two different graphics so if I go to my desktop to see those I've got my jpg there on the Mac I can hit the spacebar to do a quick preview just so you can see it so this part is the thing that I needed from my design also my SVG file as well now this preview isn't the best preview because actually the SVG file is transparent so it shows whatever through to whatever background you're going to be on and also all this white space is not actually in

the SVG this is just the Mac doing kind of a not so great job at previewing the SVG file but I just wanted you to see that I did extract this piece and this piece as well so from the overall design you extract your individual graphics and then you can basically put them all back together again with code so I have my graphics I have my plan of what I want to do in my websites the next step is to actually build the functioning web page and so for that I do need to write some code so I am done with the well actually I'm not quite done with this because I'm going to need to come back and check out like what the colors are what the sizes are so I'm gonna leave this here in in

sketch gonna leave this open and I'll come back to it just a little bit but we're gonna need to write some code so that's kind of the next step is coming back here to my presentation going over to coding so using code code is just texts so technically speaking anything that can write plain text files could write code but you knew it's going to be much easier if you get a code editor a code editor is like a text editor but it understands code so it's gonna help you a lot there's gonna be features that it can do to make your coding life easier and it'll save you time and you definitely want to use a code editor not just a plain text editor a popular one all of these are popular

so no matter which one you go with all of these are good my personal favorite at the moment is sublime text I've been using it for years I really like it there's some things that I like about some of the other apps as well just like anything I've never found perfect apps there's things that I like about sublime text there's things I like about the other ones but Visual Studio code and atom are both free so they are good not gonna knock them they are both good code editors I do personally prefer sublime text but you really can't go wrong with any of these sublime text does have an unlimited free trial so you can try it out for as long as you want but it is $80 if you want

to purchase it so every once in a while it'll say do you want to buy so whenever you save maybe like every 15 times you save it says do you want to buy and you can keep clicking cancel as long as you want to try it out fully featured works just like if you pay for it just once you pay for it the NAG goes away so that you have supported the developers and helped them to continue the development of sublime texts so any of these will work just fine but I personally like sublime text there's just certain things that I like about it that I keep coming back to but even though these are free there are certainly good code editors and I know a lot of people that do prefer those so

a lot of code editors is personal preference so you can use any of these if you want I'm gonna use sublime text because that is my personal preference that's the one that I prefer so let me show you how to do a little bit of coding so in I'm gonna close this up here that was just left open from before here so normally when you launch sublime text you were just going to have a blank screen or when you launch any code editor pretty much you're gonna have a blank file so if you said new file is literally just a blank document because you're gonna be writing the code we're gonna be writing HTML and then we're gonna add some CSS code as well and so this is how we actually make

the working web page and we'll open up in a browser and actually see how the web page actually works now before I get started here I do need to be a little organized about all my stuff I need to collect all my images and I need to save my document into a folder so I'm not going to just go straight to coding right away I'm gonna make sure we get organized in my files here these are the files that you can download through the PDF that's at the beginning of these slides so when you download that PDF in there there are instructions to downloading these class files so this is what I'm going to demonstrate with this is the finished website so in case you want to take a look at

the code that we wrote as the final product you can take a look through this but as a starter website we are providing the images because we don't assume that you have sketch or Adobe XD or something like that so we're providing you with the home JPEG like I exported from sketch so we're giving you that image we're also giving you the logo which is the SVG logo that I exported from sketch and also another photo for a second page because we're in a create a two page website and so I have the contact page as well me they're teaching a seminar so we're providing those graphics and if you're a web developer it's very likely that you will get the graphics from a designer and they

say okay here's the graphics here's the design you code it and make it look the way my design says to look kind of like a engineer gets a plan from a set of plans and says okay let's let's go ahead build this going off of the plans we've also given you an index.html now an index index dot HTML let's think about that so this is a basically a plain text file so if I change this to txt so index txt or I'll just even call it text right this is just a plain text file there's nothing special about this plain text file it's just text so all I did is I just saved a plain text file just a dot txt file and I called it index dot HTML because we're gonna be writing HTML and functionally

speaking an HTML document is just plain text and this way you don't have to copy and paste from your from your design app but let me open that up in sublime text so I'm gonna go to sublime text and I'm gonna open that so I go to open and I go to my desktop getting started the website so notice in this website we've organized all the stuff we need we have our images we also have our page now if you're creating this yourself you would just create a new document and just save it as index.html so you would just say like new file and save as and then you would just name it index dot HTML so it knows that it's an HTML file so that's all you would do and then you can copy and paste

from an email from your design app whatever wherever your text is normally if you're going from a design you'll be copying pasting from your design so I could have copied and pasted this from sketch for example so this is all the texts that I have in sketch but I could have just copied and pasted it from sketch and notice there's no code actually in here just yet we're gonna be adding code that gives the browser's more instructions but technically speaking this is an HTML document so I could view it in a web browser right now even without adding any code browsers will still do something with this so if I go to any browser this is a vari google chrome firefox if I'm on Windows

the Microsoft edge previously Internet Explorer but any of these programs these are what we call a web browser and a browser understands HTML CSS and JavaScript code that's what they do they render that code we don't see the code but we see the results of what the code tells the browser to do so let's say I go to Chrome and I'll use that so here in chrome I'm going to open up a new tab because I want to be able to go back to my presentation there and I can go to file open if I'm on a Mac on Windows you can also do like ctrl o for open and you can open it that way and you can literally open a document like you would open up a Word document in Word you can go to file open and

you can open up an HTML document and you see the result of it you see all the text another way you can also open up a web page in a browser is you can drag and drop from your desktop so here I am on my desktop I can drag and drop into the browser window that also works and another way you could do it is also to right-click or control-click on the Mac if you don't have a right click a mouse and you can say open with and you will have all your browsers listed there so I could choose I could choose Firefox for example if I want to open up in Firefox and that will launch Firefox and it will open up there too so notice what we see here is all the text just strewn about the page

just no line breaks or anything just all that texts in my code I have a bunch of line breaks here like this is on its own line this is on its own line but there was no codes to tell the browser to do anything so it never said go to the next line we need to give it codes to do all that sort of stuff so there are certain standard things you're gonna want to add it to every page just so you know we do have it in the presentation so if you're looking at the presentation the next slide is going to have all the standard code I'm gonna quickly walk us through the standard code but literally you could just copy and paste this into sublime text or whatever code editor you're using

and you would just put all your content here in the body so I'm going to go through and just go through a couple of these things real quick here and just conceptually explain what these things are so we have tags tags are in these less-than and greater-than brackets and they're gonna label something or tag it to indicate what it is so we have their HTML tag this says what's inside of this tag is all HTML and that's everything in the page so you're gonna wrap this tag around everything in the page so I'm going to start it at the top and then down at the bottom I'm going to end it and it is by wrapping it around the whole page everything inside that tag is marked up to say

this is HTML now end tags look a little different than your start tags they have a slash so the slash says it's the end of something so if there's no slash in it it means it's a start of something and this ends it everything inside of that tag is marked up to now be HTML so now we've said it's all HTML ok within an HTML document what two main sections do we have it's kind of like a person we have a head and we have a body so in our document we have a head tag now as I start to type it will actually give you hints as I start to type this is what code editors do they actually give you hints I'm gonna ignore all of those hints for right now because I want us to focus on the

code and not learning a particular program and using those hints I'm gonna go one piece at a time so we have a head and we have a body which do you think goes on top the head or the body the head just like normal people our heads are on top so the head goes first I'm gonna start the head and then the end of the head is the same as the start except it has a slash so down below the head after the head I'm gonna start the body as I start to type I know it does give me code hints for right now I'm just gonna ignore them so we can focus on what I'm typing here so we've got the head up there by itself and then we have the body now the body is supposed to wrap around all the content

on the page so any Content you want to see on the page you put it inside the body so all this stuff should be in the body so I'm going to start the body here and then down here at the end after all the content I'm going to end at the body now I know about that slash so check this out when I open up the tag using this less than sign watch what happens when I hit slash I just hit one key I hit the slash key and the code editor said oh you want to end something okay I'll end that for you so it ended the last tag that I opened that I had not already closed so the body is wrapping around the body of my content we'll come back to the head and see what that's for later but I've

just created a web page with a web page with the basic tags now we can fill out more things in here but we've got the basic stuff going in the head you might be thinking what's what's it what's in the head what would you put there well let's go to the web page itself and come back here if I hit refresh nothing changed it still looks the same but I just want to point out here up in the tab notice how this tab has a nice label but this tab does not it just has the file name nobody wants to see index.html that's not very attractive we want to have a better title for the document and this is kind of at the top of the page like as though it's in the head of the page so inside

the head we can have a title so I can start the title and then I can end the title and the start and the end are always the same except for the slash inside the title we can actually write in the title for the page so this page happens to be about me as a web designer and instructor so I can say Dan Rodney instructor and web designer all right so that's going to be the title what this page is about and then I can save that change come back to my browser and to see the latest changes I have to hit the refresh or reload button and that goes and gets the latest version so now I can see that I've got a proper title up there that's very nice every page should have a unique title

appropriate for that page not only is it visible up there it's also going to be used when you bookmark the page that's the title that you're going to see when you bookmark something and very importantly that's what you see in Google for example on my personal website Dan Rodney comm I have this page of Mac keyboard shortcuts and up here the title says Mac keyboard shortcuts and keystrokes I didn't know if people would type in shortcuts or keystrokes so I threw in both of those words so that's the title Mac keyboard shortcuts and keystrokes let's say you google Mac keyboard and they suggest shortcuts so that's what most people are probably going to choose and pretty quickly

here you will see my website but the most important thing here is look at what it says it says the title so this big text that you see here that's the title of the page so titles are important not only to identify the tab and for bookmarking but most importantly for Google it should contain the things that people are most likely to search for and that when they see it they'll be like yeah that's that's what I'm looking for I want keyboard shortcuts or whatever they're searching for so that's why the title is important for each individual page having a different topic each page needs to have a different title so now that we've done that we have the basics of the page there

are a couple other things that you want to add and I'm gonna actually just copy and paste these all just for the sake of time I'm just gonna copy those and paste them in and just clarify a couple things here so looking at this right here so this was the HTML tag that we had the Lang attribute Lang is short for language so you don't technically need a language specified but if you put a language and en is for English if you're doing Spanish it would be espanol so yes so they have different codes for if you're doing French or Spanish or whatever language you're doing but this tells screen readers that this is an English page so if if it was hyphenating something it could do

proper hyphenation if it was speaking the page it would know how to pronounce things properly basically screen readers and browsers understand the language so that's something good for it to know about there's also some other things that are necessary for the page to display properly this little line right here is called a document type and it used to be that we didn't have document types but then they wanted to keep the web moving forward and adding new features and so eventually they said well we want a new version of HTML so version 2 version 3 version 4 now up to version 5 and but moving forward starting with version 5 it used to be the prior to version 5 that they'd

had this long document type that I would never remember how to type it out I would always just have to copy and paste it because was just too long I'd make some type it was it was a whole long thing and they had like version 4 there was transitional there was strict there was a bunch of different things in there and it was too long and html5 said you know what it's annoying to have to come back and change this version of HTML that we're using every time it changes let's get rid of this idea of version numbers and let's just say it's now the living standard of HTML it's going to evolve it's gonna change but let's not number it anymore let's just go with a simple document type

that just says render this page according to the latest standards whatever those are so there's not going to be an HTML 6 or 7 there's just the HTML forever just it's called the living standard and so it will just always be the most up-to-date version of HTML if you don't have that document type browsers assume that this is a really old web page built before the days of document types and so it will render your page like an old web page because browsers can actually adapt how they render a web page and so we want to make sure that we have this latest document type to make sure that we are rendered according to the latest standards that are available for for us to use so we

get all the latest features working the way that the browser should work in a modern up-to-date way so just make sure that our page is gonna work according to the latest standards this little code right here this meta tag here there's different type and meta tags that you can put in there and those are used for different purposes meta is like extra information about the page so what else does the browser need some need to know this little part right here make sure that special characters don't get screwed up it's the character set utf-8 is actually first at the code Unicode it's one code for all platforms so things like special characters like copyright symbols and trademark

symbols those will be displayed properly by putting this little bit of code right there and this right here this one here there's this thing called a viewport and this is used for mobile phones and tablets and desktops so that they are all viewed properly it basically says that the width of the page should be whatever the device width is so if we're on a small device the page width should be the small device if we're on a tablet it should be the size of the tablet and if we're on a desktop it should be the size of the tablet basically say I'm designing for each size in mind so I am going to be designing for a mobile phone I'm gonna be designing for a tablet I'm gonna be designing

for a desktop and I want to make it look good on all of those screens prior to having this we just designed sites for desktops so back in the day before mobile phones we would just create a desktop design and it would be one size for everybody and we'd have to try to guess the average size that everybody had so this little code says now in the days of responsive web design a responsive website responds to the different sized screens phones tablets desktops and so we want it to honor the width excuse me the width of each individual device and instead of it kind of thinking hey this was designed for desktops let's just scale it down individually this also says for initial-scale

excuse me to be a hundred percent zoom which means don't zoom in zoom out just be the normal size when we start out the page so in short this little line of code here just says I'm designing a site and I'm gonna do things that I need to do to make sure it looks good on mobile phones tablets and desktops it doesn't automatically make your site look good on those it just says that I'm gonna do what I need to to make sure that it works make sure that it renders it properly all right so when I do hit refresh on this page before I hit refresh just watch the little space up at the top of the page when I hit refresh well actually didn't change it because we don't have any headings

or anything like that so so you you won't really notice much change there because we haven't done anything special but but you just want to have all those codes in there to make sure your page is gonna render properly all right so now we can get started doing something that will actually look nice here in the browser now that we've got the standard basic kind of boring code there we've got a heading here we've got some subheadings here and if I look at my design excuse me dry throat all right here we go if I look at my design I've got a main heading and then I've got two sections I've got two subheadings here and I've got two paragraphs so I want to make these look different

and we have headings in code so I can pop back over here and this is a heading so these are paragraphs so let's start with paragraphs P is for paragraph you're gonna wrap a paragraph tag around and remember the end tag has a slash to end so by marking this up you've said that is a paragraph let's see what we just did there save come back to the browser hit refresh so you always have to hit refresh after making a change nothing tells the browser that it's going to automatically update so it just sits there displaying the page as it was when you last opened it so unless you hit refresh it's not going to go get the latest version of the page that's why you have to save so that

when you hit refresh it can get those changes that you saved notice that we have a paragraph now it's separated by space from the other paragraphs kind of like a business style formatted paragraph there now we can throw in some additional paragraphs so again P is for paragraph and we wrap the paragraph tag around that paragraph and we save and then we go back over to our browser and hit refresh so now our paragraphs are starting to take shape but we do have our and actually this is a paragraph up here too for the navigation alright so here we have main headings and subheadings so that the page is about Dan Rodney so hi I'm Dan Rodney that's the major heading then when you

break down this main topic so let's actually instead of saying hi Dan Rodney I'll say I'm Dan Rodney teacher and web designer so that's what the page is about that's the main heading so that is an h1 each is for heading just like P is for paragraph and to be honest if we only had one kind of heading it would just simply be H but we number them h1 through h6 because h1 is the first level most important topic for the page you might break that down into subtopics I say may because you might not you might just have a heading and that's it I have a simple structure but that will make that a big bold heading right there you go so big bold big bold heading there you can further

break that main topic down into subtopics so I'm Dan Rodney a teacher and web designer I'm also a trainer I'm also a web developer right so it kind of goes into them so really I'm gonna leave this back and I'm gonna say hi I'm I'm Dan Rodney there we go hi I'm Dan Rodney I'm a trainer I'm also a developer designer and more so that's the main topic about me we're going to break that down into heading twos so heading to that's a second level heading that is a subtopic to the main topic this is what the page is about but this is one section of the page and this is another section of the page so you're giving topics for the page they give it like an outline this is the main topic

Topics

Learn more in these courses

Back to Blog
Yelp Facebook LinkedIn YouTube Twitter Instagram