SlideShare a Scribd company logo
1 of 26
  
Introduction to HTML5 and CSS3
 Before we begin, let me start by expressing that this 
presentation tutorial is for Windows PC users only as I do not 
own a mac yet. 
 This presentation will show you step by step how to create a 
folder directory root folder as well as sub-folders for the 
project you will be working on during this course. 
 The second half of this presentation will show you a walk 
through on downloading, installing, customizing, and using 
Sublime Text 2, a text editor that I will use in many of my 
demonstrations for this course. 
 At the end of this presentation, if you have any questions, 
please feel free to post a topic in the “Start Here” discussion 
area called “Getting Started.”
 Alright, so, let’s get started. Start by turning on your Windows PC 
and log in to your desktop. On your desktop background, right click 
on the screen. A menu will pop up. 
 From this menu, select the option new. This will open a secondary 
menu and on this menu you will select folder. It should look 
something like this.
 This new folder that you have created on your desktop 
will need a name. Give the folder a name that you will 
remember and make sure it is one that is beneficial for 
your project. You can name it “intro html5,” or 
“project_1.” Just keep in mind you will be using this 
folder to store all of your files for the website we will be 
creating for this course. 
 For this project, I chose to name my project folder 
“project_01.” Your folder should look like the following or 
similar.
 As you can see, you should have an new folder on your 
desktop where it’s easily accessible to you at all times. 
 Now, double click on your project folder to open it. As 
you can see there is absolutely nothing inside this folder. 
 We are going to add two sub-folders, or directories 
inside this main root directory folder. To do this, follow 
the same steps you followed for creating a new folder, 
only this time instead of clicking on your desktop 
background, you click on the window background in front 
of you to get the menu to pop up. 
 The two folders that you will create are “css” and 
“images.”
 Once you have completed this, you should have a folder 
file that looks like the following:
 As you can see, we now have our root directory folder, 
and two sub-folder directories inside this main folder. 
 Be sure when you name files and folders for this project, 
each name is typed in lowercase letters. This will make it 
easier for you to add things to your html code at a later 
point. 
 Again, if at this time you have any questions about what 
we have just gone over, please feel free to post a topic in 
the “Start Here” discussion forum “Getting Started.”
  
Introduction to HTML5 and CSS3
 For this course you are required to use a plain text editor for 
create htm or html and css files for your website project you 
will be creating. 
 Windows, by default, comes with Notepad, and Mac, by 
default, comes with TextEdit. Either of those two programs are 
fine to use for this course. 
 Avoid using word processors such as Microsoft Word as you 
can not save files as plain text. 
 Most of my presentations and lessons will be presented with a 
text editor called “Sublime Text 2,” therefore, in this part of the 
presentation I will go through the process of downloading, 
installing, customizing, and using Sublime Text 2.
 Sublime Text 2 is a basic text editor much like Notepad 
and TextEdit. However, it comes with additional features 
that makes it easier for programmers to see errors in 
their coding as well as tell their coding apart from their 
content. 
 You can customize the look and feel of the editor to fit 
your needs or preferences and that is something we will 
cover in this presentation.
 To start with, open up your Internet Web browser and go to 
the following URL: 
http://sublimetext.com/2 
 You will see that 2.0.2 is the current version of Sublime Text 2 
and you will also see that Sublime Text 3 (beta) is available. 
For now, we are going to download Sublime Text 2. 
 You can download the program via any of the links provided 
on this page. Make sure that you download the program for 
your proper operating system. For example, if you use 
Windows, do NOT download the Osx version as that is for a 
Mac OS and not windows. 
 Once you have downloaded the program, locate the 
installation file (usually in your downloads folder) and install 
the program. Make sure to create a short cut on your desktop 
for easier access.
 Now that you have installed the program successfully, 
open it. You should have a completely blank canvas that 
resembles the following.
 The first thing we are going to do is open our project 
folder. Our project folder is where all of our files will be 
stored. 
 Go to file -> Open Folder. Since the folder we created is 
located on our desktop, we should easily be able to 
locate the folder. 
 Select the folder from the list and select OK. Sublime 
Text opens a new window for our project folder. 
 Now, minimize our project window by clicking on the 
minus sign at the top right corner of the window. After 
doing that, go ahead and close the first window that was 
opened when we opened the program. To do this click 
on the X symbol in the top right corner of that window.
 Maximize our project window by clicking on the taskbar 
button for sublime text. 
 As you can see, in the side bar of the window, you can 
also see the two sub-folder directories we created, css 
and images:
 With our workstation set up this way, you can easily edit 
multiple files at one time, as well as link to content within 
the root and sub-folders in your actual HTML code.
 Now we are going to create our first file using Sublime Text. 
 Go to file -> New File. Doing this opens a tab in our 
workstation window. 
 In this new tab we are going to write some lines of code. We 
are going to use the required HTML5 elements for all web – 
pages so you can get an idea of what the coding will look like. 
Type the code as follows:
 As you can see, there is absolutely nothing special about 
the code on the page. It is simply just plain text. 
 After you complete the following step, watch what 
happens to the code. 
 Now, go to file -> save as. Make sure you are inside your 
project folder. You should see the css and images sub-folders 
in side the folder’s root. 
 Give the file the name index.htm, make sure the save as 
type is set to “all files.” Click Save. 
 Notice how the HTML tags have changed colors? Pretty 
neat huh? This makes it easier to distinguish code from 
content/text. See an example on the next slide:
 Now we are going to close and open the file that we just 
created so that you understand how to do this with 
individual files within your project folders. 
 To close the file, click the small x on the tab of the file. To 
re-open the file simply click, or double click on the 
index.htm file located in the left sidebar of the Sublime 
Text window. 
 This program allows you to have multiple files open at a 
time for easier editing of code. It’s definitely a unique tool 
to have when editing multiple pages at one time.
 Now, we are going to create another new file. Again, go to file 
-> new file. This opens a second tab in your projects window. 
 Before we begin writing any code to this file, lets save it first. 
 Go to file -> Save as. You should already be in your project 
folder, but just to be safe, make sure that you are. Save this 
file as index2.htm. 
 Now, we are going to repeat the same step as before. 
However, do NOT copy and paste the code from the first file 
to the second file, or you will not see the difference. 
 Begin typing your required HTML5 tags in the new file and 
watch what happens. Notice anything different? There is an 
example on the next slide:
 As you can see, if you save the file before you begin 
coding, Sublime Text automatically adds indents for 
specific parts of code making the code easier to read.
Saving After Writing Code 
Saving Before Writing 
Code
 When working with multiple open files, you have the 
option to save all of those files at one time. This is 
something that I highly recommend as you may make 
some changes you forget out. 
 To do this, simply go to file -> save all. This will save all 
of the files that are open in tabs within your work station.
 The last thing that I would like to cover in this 
presentation is the customization of your Sublime Text 2 
Workstation. 
 Simply go to Preferences -> Color Scheme. From there 
you will see several different options for selecting a color 
theme for your work station. Play with it a bit and find 
one that suits your needs, or one that you really like. 
 My personal favorite is Monokai Bright. It has a dark 
background with pink text for the HTML tags, which is 
easy on the eyes and allows me to differentiate between 
my code and content. 
 When writing CSS, it looks beautiful in this theme as 
well. See an example on the next slide.
HTML CSS
 Alright, you can now close the open program as this 
concludes the second part of my presentation tutorial. 
 Make sure that you delete the two files we created with 
Sublime Text 2 as you will be creating similar named files 
for your actual project in those folders. 
 Again, if after going through this presentation, if you 
have any questions feel free to post them in the “Start 
Here” discussion area “Getting Started.”

More Related Content

What's hot

BP304 - Blog It Up, Baby! Extending the new IBM Lotus Domino Blog Template
BP304 - Blog It Up, Baby! Extending the new IBM Lotus Domino Blog TemplateBP304 - Blog It Up, Baby! Extending the new IBM Lotus Domino Blog Template
BP304 - Blog It Up, Baby! Extending the new IBM Lotus Domino Blog TemplateSean Burgess
 
Lesson 3 cs5
Lesson 3   cs5Lesson 3   cs5
Lesson 3 cs5dtelepos
 
Create online forms using google docs
Create online forms using google docsCreate online forms using google docs
Create online forms using google docsFrances O'Neill
 
Creating a page in HTML
Creating a page in HTMLCreating a page in HTML
Creating a page in HTMLrobertbenard
 
Lesson 1 cs5
Lesson 1   cs5Lesson 1   cs5
Lesson 1 cs5dtelepos
 
hopTo Work Step by Step Test Drive
hopTo Work Step by Step Test DrivehopTo Work Step by Step Test Drive
hopTo Work Step by Step Test DrivehopTo
 
Html beginner
Html beginnerHtml beginner
Html beginnerwihrbt
 
Blog It Up, Baby! Extending the new IBM Lotus Domino Blog Template
Blog It Up, Baby! Extending the new IBM Lotus Domino Blog TemplateBlog It Up, Baby! Extending the new IBM Lotus Domino Blog Template
Blog It Up, Baby! Extending the new IBM Lotus Domino Blog TemplateSean Burgess
 
Lesson4.9 a u4l2 html
Lesson4.9 a u4l2 htmlLesson4.9 a u4l2 html
Lesson4.9 a u4l2 htmlLexume1
 
Html beginners tutorial
Html beginners tutorialHtml beginners tutorial
Html beginners tutorialnikhilsh66131
 

What's hot (15)

BP304 - Blog It Up, Baby! Extending the new IBM Lotus Domino Blog Template
BP304 - Blog It Up, Baby! Extending the new IBM Lotus Domino Blog TemplateBP304 - Blog It Up, Baby! Extending the new IBM Lotus Domino Blog Template
BP304 - Blog It Up, Baby! Extending the new IBM Lotus Domino Blog Template
 
HTML 101
HTML 101HTML 101
HTML 101
 
Lesson 3 cs5
Lesson 3   cs5Lesson 3   cs5
Lesson 3 cs5
 
Basic Html for beginners.
Basic Html for beginners.Basic Html for beginners.
Basic Html for beginners.
 
Brackets code editor guide
Brackets code editor guideBrackets code editor guide
Brackets code editor guide
 
Create online forms using google docs
Create online forms using google docsCreate online forms using google docs
Create online forms using google docs
 
Creating a page in HTML
Creating a page in HTMLCreating a page in HTML
Creating a page in HTML
 
Lesson 1 cs5
Lesson 1   cs5Lesson 1   cs5
Lesson 1 cs5
 
Html5
Html5Html5
Html5
 
Blogs
Blogs Blogs
Blogs
 
hopTo Work Step by Step Test Drive
hopTo Work Step by Step Test DrivehopTo Work Step by Step Test Drive
hopTo Work Step by Step Test Drive
 
Html beginner
Html beginnerHtml beginner
Html beginner
 
Blog It Up, Baby! Extending the new IBM Lotus Domino Blog Template
Blog It Up, Baby! Extending the new IBM Lotus Domino Blog TemplateBlog It Up, Baby! Extending the new IBM Lotus Domino Blog Template
Blog It Up, Baby! Extending the new IBM Lotus Domino Blog Template
 
Lesson4.9 a u4l2 html
Lesson4.9 a u4l2 htmlLesson4.9 a u4l2 html
Lesson4.9 a u4l2 html
 
Html beginners tutorial
Html beginners tutorialHtml beginners tutorial
Html beginners tutorial
 

Similar to Getting started with Website Project and Sublime Text 2

An Overview of RoboHelp 7
An Overview of RoboHelp 7An Overview of RoboHelp 7
An Overview of RoboHelp 7Scott Abel
 
1 Creating web pages in Word (Web Assignment 1) .docx
1  Creating web pages in Word  (Web Assignment 1)  .docx1  Creating web pages in Word  (Web Assignment 1)  .docx
1 Creating web pages in Word (Web Assignment 1) .docxhoney725342
 
Mulesoft - Documentation (Automation)
Mulesoft - Documentation (Automation)Mulesoft - Documentation (Automation)
Mulesoft - Documentation (Automation)Vamsi Krishna
 
DevLearn 2017 - Getting Started with Adapt
DevLearn 2017 - Getting Started with AdaptDevLearn 2017 - Getting Started with Adapt
DevLearn 2017 - Getting Started with AdaptFloat
 
Automatic documantation with mule
Automatic documantation with muleAutomatic documantation with mule
Automatic documantation with muleSunil Komarapu
 
Automatic documentation with mule
Automatic documentation with muleAutomatic documentation with mule
Automatic documentation with muleHasan Syed
 
Automatic documantation with mule
Automatic documantation with mule Automatic documantation with mule
Automatic documantation with mule AbdulImrankhan7
 
Automatic documentation with mule
Automatic documentation with muleAutomatic documentation with mule
Automatic documentation with muleF K
 
Automatic documentation with mule
Automatic documentation with mule Automatic documentation with mule
Automatic documentation with mule javeed_mhd
 
Automatic documantation with mule
Automatic documantation with mule Automatic documantation with mule
Automatic documantation with mule mdfkhan625
 
Automatic documentation with mule
Automatic documentation with muleAutomatic documentation with mule
Automatic documentation with muleMohammed246
 

Similar to Getting started with Website Project and Sublime Text 2 (20)

An Overview of RoboHelp 7
An Overview of RoboHelp 7An Overview of RoboHelp 7
An Overview of RoboHelp 7
 
Fewd week1 slides
Fewd week1 slidesFewd week1 slides
Fewd week1 slides
 
Dw cs3-introduction
Dw cs3-introductionDw cs3-introduction
Dw cs3-introduction
 
1 Creating web pages in Word (Web Assignment 1) .docx
1  Creating web pages in Word  (Web Assignment 1)  .docx1  Creating web pages in Word  (Web Assignment 1)  .docx
1 Creating web pages in Word (Web Assignment 1) .docx
 
phpTutorial5
phpTutorial5phpTutorial5
phpTutorial5
 
phpTutorial5
phpTutorial5phpTutorial5
phpTutorial5
 
php
phpphp
php
 
phpTutorial5
phpTutorial5phpTutorial5
phpTutorial5
 
phpTutorial5
phpTutorial5phpTutorial5
phpTutorial5
 
Mulesoft - Documentation (Automation)
Mulesoft - Documentation (Automation)Mulesoft - Documentation (Automation)
Mulesoft - Documentation (Automation)
 
DevLearn 2017 - Getting Started with Adapt
DevLearn 2017 - Getting Started with AdaptDevLearn 2017 - Getting Started with Adapt
DevLearn 2017 - Getting Started with Adapt
 
Automatic documantation with mule
Automatic documantation with muleAutomatic documantation with mule
Automatic documantation with mule
 
Mule
MuleMule
Mule
 
Automatic documentation with mule
Automatic documentation with muleAutomatic documentation with mule
Automatic documentation with mule
 
Automatic documantation with mule
Automatic documantation with mule Automatic documantation with mule
Automatic documantation with mule
 
Automatic documentation with mule
Automatic documentation with muleAutomatic documentation with mule
Automatic documentation with mule
 
Automatic documentation with mule
Automatic documentation with mule Automatic documentation with mule
Automatic documentation with mule
 
Automatic documantation with mule
Automatic documantation with mule Automatic documantation with mule
Automatic documantation with mule
 
Documantation with mule
Documantation with mule Documantation with mule
Documantation with mule
 
Automatic documentation with mule
Automatic documentation with muleAutomatic documentation with mule
Automatic documentation with mule
 

Recently uploaded

Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 

Recently uploaded (20)

Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 

Getting started with Website Project and Sublime Text 2

  • 1.   Introduction to HTML5 and CSS3
  • 2.  Before we begin, let me start by expressing that this presentation tutorial is for Windows PC users only as I do not own a mac yet.  This presentation will show you step by step how to create a folder directory root folder as well as sub-folders for the project you will be working on during this course.  The second half of this presentation will show you a walk through on downloading, installing, customizing, and using Sublime Text 2, a text editor that I will use in many of my demonstrations for this course.  At the end of this presentation, if you have any questions, please feel free to post a topic in the “Start Here” discussion area called “Getting Started.”
  • 3.  Alright, so, let’s get started. Start by turning on your Windows PC and log in to your desktop. On your desktop background, right click on the screen. A menu will pop up.  From this menu, select the option new. This will open a secondary menu and on this menu you will select folder. It should look something like this.
  • 4.  This new folder that you have created on your desktop will need a name. Give the folder a name that you will remember and make sure it is one that is beneficial for your project. You can name it “intro html5,” or “project_1.” Just keep in mind you will be using this folder to store all of your files for the website we will be creating for this course.  For this project, I chose to name my project folder “project_01.” Your folder should look like the following or similar.
  • 5.  As you can see, you should have an new folder on your desktop where it’s easily accessible to you at all times.  Now, double click on your project folder to open it. As you can see there is absolutely nothing inside this folder.  We are going to add two sub-folders, or directories inside this main root directory folder. To do this, follow the same steps you followed for creating a new folder, only this time instead of clicking on your desktop background, you click on the window background in front of you to get the menu to pop up.  The two folders that you will create are “css” and “images.”
  • 6.  Once you have completed this, you should have a folder file that looks like the following:
  • 7.  As you can see, we now have our root directory folder, and two sub-folder directories inside this main folder.  Be sure when you name files and folders for this project, each name is typed in lowercase letters. This will make it easier for you to add things to your html code at a later point.  Again, if at this time you have any questions about what we have just gone over, please feel free to post a topic in the “Start Here” discussion forum “Getting Started.”
  • 8.   Introduction to HTML5 and CSS3
  • 9.  For this course you are required to use a plain text editor for create htm or html and css files for your website project you will be creating.  Windows, by default, comes with Notepad, and Mac, by default, comes with TextEdit. Either of those two programs are fine to use for this course.  Avoid using word processors such as Microsoft Word as you can not save files as plain text.  Most of my presentations and lessons will be presented with a text editor called “Sublime Text 2,” therefore, in this part of the presentation I will go through the process of downloading, installing, customizing, and using Sublime Text 2.
  • 10.  Sublime Text 2 is a basic text editor much like Notepad and TextEdit. However, it comes with additional features that makes it easier for programmers to see errors in their coding as well as tell their coding apart from their content.  You can customize the look and feel of the editor to fit your needs or preferences and that is something we will cover in this presentation.
  • 11.  To start with, open up your Internet Web browser and go to the following URL: http://sublimetext.com/2  You will see that 2.0.2 is the current version of Sublime Text 2 and you will also see that Sublime Text 3 (beta) is available. For now, we are going to download Sublime Text 2.  You can download the program via any of the links provided on this page. Make sure that you download the program for your proper operating system. For example, if you use Windows, do NOT download the Osx version as that is for a Mac OS and not windows.  Once you have downloaded the program, locate the installation file (usually in your downloads folder) and install the program. Make sure to create a short cut on your desktop for easier access.
  • 12.  Now that you have installed the program successfully, open it. You should have a completely blank canvas that resembles the following.
  • 13.  The first thing we are going to do is open our project folder. Our project folder is where all of our files will be stored.  Go to file -> Open Folder. Since the folder we created is located on our desktop, we should easily be able to locate the folder.  Select the folder from the list and select OK. Sublime Text opens a new window for our project folder.  Now, minimize our project window by clicking on the minus sign at the top right corner of the window. After doing that, go ahead and close the first window that was opened when we opened the program. To do this click on the X symbol in the top right corner of that window.
  • 14.  Maximize our project window by clicking on the taskbar button for sublime text.  As you can see, in the side bar of the window, you can also see the two sub-folder directories we created, css and images:
  • 15.  With our workstation set up this way, you can easily edit multiple files at one time, as well as link to content within the root and sub-folders in your actual HTML code.
  • 16.  Now we are going to create our first file using Sublime Text.  Go to file -> New File. Doing this opens a tab in our workstation window.  In this new tab we are going to write some lines of code. We are going to use the required HTML5 elements for all web – pages so you can get an idea of what the coding will look like. Type the code as follows:
  • 17.  As you can see, there is absolutely nothing special about the code on the page. It is simply just plain text.  After you complete the following step, watch what happens to the code.  Now, go to file -> save as. Make sure you are inside your project folder. You should see the css and images sub-folders in side the folder’s root.  Give the file the name index.htm, make sure the save as type is set to “all files.” Click Save.  Notice how the HTML tags have changed colors? Pretty neat huh? This makes it easier to distinguish code from content/text. See an example on the next slide:
  • 18.
  • 19.  Now we are going to close and open the file that we just created so that you understand how to do this with individual files within your project folders.  To close the file, click the small x on the tab of the file. To re-open the file simply click, or double click on the index.htm file located in the left sidebar of the Sublime Text window.  This program allows you to have multiple files open at a time for easier editing of code. It’s definitely a unique tool to have when editing multiple pages at one time.
  • 20.  Now, we are going to create another new file. Again, go to file -> new file. This opens a second tab in your projects window.  Before we begin writing any code to this file, lets save it first.  Go to file -> Save as. You should already be in your project folder, but just to be safe, make sure that you are. Save this file as index2.htm.  Now, we are going to repeat the same step as before. However, do NOT copy and paste the code from the first file to the second file, or you will not see the difference.  Begin typing your required HTML5 tags in the new file and watch what happens. Notice anything different? There is an example on the next slide:
  • 21.  As you can see, if you save the file before you begin coding, Sublime Text automatically adds indents for specific parts of code making the code easier to read.
  • 22. Saving After Writing Code Saving Before Writing Code
  • 23.  When working with multiple open files, you have the option to save all of those files at one time. This is something that I highly recommend as you may make some changes you forget out.  To do this, simply go to file -> save all. This will save all of the files that are open in tabs within your work station.
  • 24.  The last thing that I would like to cover in this presentation is the customization of your Sublime Text 2 Workstation.  Simply go to Preferences -> Color Scheme. From there you will see several different options for selecting a color theme for your work station. Play with it a bit and find one that suits your needs, or one that you really like.  My personal favorite is Monokai Bright. It has a dark background with pink text for the HTML tags, which is easy on the eyes and allows me to differentiate between my code and content.  When writing CSS, it looks beautiful in this theme as well. See an example on the next slide.
  • 26.  Alright, you can now close the open program as this concludes the second part of my presentation tutorial.  Make sure that you delete the two files we created with Sublime Text 2 as you will be creating similar named files for your actual project in those folders.  Again, if after going through this presentation, if you have any questions feel free to post them in the “Start Here” discussion area “Getting Started.”