SlideShare a Scribd company logo
1 of 23
Css Founder| Cssfounder Se
http://cssfounder.com
HTML Basics and CSS style
Css Founder.com
Before we start
Dreamweaver (DW) may take several minutes to
start.
Click on Start => Program Files => Development
Apps => Web => Dreamweaver MX =>
Dreamweaver MX to start the program.
Accept default choice for layout.
Minimizing the Dreamweaver. We will use it
later.
Copy Everything from my public folder (including
this ppt file) to your P: drive.
U:msuusernananzhangpublic
Css Founder.com
HTML File Structure
<HTML>
<HEAD>
</HEAD>
<BODY>
</BODY>
</HTML>
Open a Notepad window. Copy the HTML tags to the Notepad.
Css Founder.com
Web Page Development Cycle
EDIT and SAVE the file in your AFS
p:webindex.html
TEST by BROWSING to the page
http://www.msu.edu/~msunetid/index.html
Css Founder.com
Adding Text to Your HTML File
<HTML>
<HEAD>
<TITLE>My home page</TITLE>
</HEAD>
<BODY>
My name is your name.
My major is your major.
</BODY>
</HTML>Css Founder.com
Making paragraphs
<HTML>
<HEAD>
<TITLE>My home page</TITLE>
</HEAD>
<BODY>
<p> My name is your name.</p>
<p> My major is your major. </p>
</BODY>
</HTML>
Css Founder.com
Adding Information to Web Page
My name is your name
My major is your major
I am creating this page for LBS 126 and will
be modifying this page throughout the course.
Please visit again!
Css Founder.com
More HTML tag pairs
<u> </u> tag pair is for underline
<em> </em> tag pair is for italic style.
<H1> </H1>
…
<H6> </H6> are headlines with different
sizes.
Css Founder.com
Formatting Your Web Page with more
tags
My name is your name
My major is your major
I am creating this page for CSE 101
and will be modifying this page
throughout the course.
Please visit again!
Underline & Italic
Italic
H1
H2
Separate
Paragraph
Separate
ParagraphUnderlineCss Founder.com
Now it is time to use Dreamweaver MX
Css Founder.com
Creating a Link
My name is your name
My major is your major
I am creating this page for CSE 101
and will be modifying this page
throughout the course.
Please visit again!
Make this a
link to the
LBS Home
page
Question: what is the HTML tag for Links?Css Founder.com
More things to do
Make a bullet list for your four favorite
things in MSU. Change the font of this list
to “Times New Roman”
Changing page properties:
Set background color for the page.
What else can you change for the page
properties?
Download a MSU logo, save to your web
folder and insert to the top of your page.
Question: what is the HTML tag for Images?Css Founder.com
Problems
The Tags only provided limited formatting.
H1 is always that big.
Links always have an underscore.
You can manually change the format for
all the H1 headlines, but what about your
have 100 pages in your web site?
Can we customize the HTML tags?
Css Founder.com
Cascading Style Sheets (CSS)
What is style?
Style is a list of formatting instructions.
A Cascading Style Sheet is a file with a
list of formatting instructions.
 CSS style sheets are the modern way to
control the appearance and layout of your
web pages.
4.0 and up Navigator and IE fully support
CSS.
Css Founder.com
Unpacking Sample Web Site
Open the file common.zip you just copied
using EnZIP
Click on Edit => Extract and extract the files
to your web folder
The files will appear in a new folder commons
Browse to the practice web site
http://www.msu.edu/~MSUNetID/commons/
Why didn’t you give a file name in the URL?
View all seven pages in the site.
What tags control the formatting of the headings?
Css Founder.com
Cascading Style Sheet
Enter the following text into a new
Notepad document
h2 {
font-family : Tahoma;
color : blue;
text-align : center;
}
Save the document in the commons
folder as csense.css
Save as file type Text Document
Css Founder.com
Attach a Style Sheet to HTML files
In properties window-
>Styles drop box,
choose “Manage
styles…”
Use “Attach…” to
attach the .css file
you just created.
Do the same thing for
all the seven pages.
What happens?
Css Founder.com
Modifying CSS styles
h2 {
font-family : Tahoma;
color: blue;
text-align: center;
text-transform : uppercase;
}
body {
font-family : Courier New;
background-color : #FFEEDD;
color : #777733;
}Css Founder.com
Separation of Content and
Presentation
Content
Use tags like <h1>, <h2>, <p>, <em> or
<li> to indicate the structure of your pages
Presentation
Use a CSS style sheet to determine how the
tags are formatted
Advantage of separation
Changing the formatting only requires
editing the style sheetCss Founder.com
Edit styles in Dreamweaver
In the Design->CSS Styles
window you can edit the
styles you already have, or
create new styles.
Let’s create a new style for
the link HTML tag: <a>
</a>
High light the CSS file first
Click here
Css Founder.com
Change the style of HTML Link Tag
a:link – Customizes the style of a link that has not been
visited recently
a:visited -- Customizes the style of a link that has been
recently visited
a:hover -- Customizes the style of a link while the user’s
mouse is over it.
Css Founder.com
Extra material
Downloading the Macromedia
Dreamweaver tutorial file from the lecture
notes page.
Css Founder.com

More Related Content

What's hot

INFO3775 Chapter 2 Part 2
INFO3775 Chapter 2 Part 2INFO3775 Chapter 2 Part 2
INFO3775 Chapter 2 Part 2
Jeff Byrnes
 
Coding a Website with HTML
Coding a Website with HTMLCoding a Website with HTML
Coding a Website with HTML
wrhsbusiness
 
Styling text using css
Styling text using cssStyling text using css
Styling text using css
Daniel Francis
 
WordCamp Atlanta 2014 - CSS For Beginners - By Michael Earley of ATL Squared ...
WordCamp Atlanta 2014 - CSS For Beginners - By Michael Earley of ATL Squared ...WordCamp Atlanta 2014 - CSS For Beginners - By Michael Earley of ATL Squared ...
WordCamp Atlanta 2014 - CSS For Beginners - By Michael Earley of ATL Squared ...
New Tricks
 
Creating your first web page
Creating your first web pageCreating your first web page
Creating your first web page
cachs_computing
 
Dreamweaver
DreamweaverDreamweaver
Dreamweaver
chowders
 

What's hot (19)

Session Two css
Session Two cssSession Two css
Session Two css
 
Basic Webpage
Basic WebpageBasic Webpage
Basic Webpage
 
HTML and CSS
HTML and CSSHTML and CSS
HTML and CSS
 
INFO3775 Chapter 2 Part 2
INFO3775 Chapter 2 Part 2INFO3775 Chapter 2 Part 2
INFO3775 Chapter 2 Part 2
 
HTML email design and usability
HTML email design and usabilityHTML email design and usability
HTML email design and usability
 
Html css java script basics All about you need
Html css java script basics All about you needHtml css java script basics All about you need
Html css java script basics All about you need
 
David Weliver
David WeliverDavid Weliver
David Weliver
 
CSS- Cascading Style Sheet
CSS- Cascading Style SheetCSS- Cascading Style Sheet
CSS- Cascading Style Sheet
 
Coding a Website with HTML
Coding a Website with HTMLCoding a Website with HTML
Coding a Website with HTML
 
HTML- Hyper Text Markup Language
HTML- Hyper Text Markup LanguageHTML- Hyper Text Markup Language
HTML- Hyper Text Markup Language
 
Styling text using css
Styling text using cssStyling text using css
Styling text using css
 
WordCamp Atlanta 2014 - CSS For Beginners - By Michael Earley of ATL Squared ...
WordCamp Atlanta 2014 - CSS For Beginners - By Michael Earley of ATL Squared ...WordCamp Atlanta 2014 - CSS For Beginners - By Michael Earley of ATL Squared ...
WordCamp Atlanta 2014 - CSS For Beginners - By Michael Earley of ATL Squared ...
 
Creating your first web page
Creating your first web pageCreating your first web page
Creating your first web page
 
HTML, CSS and Java Scripts Basics
HTML, CSS and Java Scripts BasicsHTML, CSS and Java Scripts Basics
HTML, CSS and Java Scripts Basics
 
CSS Basics - Stylesheets and Color
CSS Basics - Stylesheets and ColorCSS Basics - Stylesheets and Color
CSS Basics - Stylesheets and Color
 
Html and css
Html and cssHtml and css
Html and css
 
CSS tutorial
CSS tutorialCSS tutorial
CSS tutorial
 
Dreamweaver
DreamweaverDreamweaver
Dreamweaver
 
46h interaction 1.lesson Hello world
46h interaction 1.lesson Hello world46h interaction 1.lesson Hello world
46h interaction 1.lesson Hello world
 

Viewers also liked

Viewers also liked (14)

Website designing compay in noida
Website designing compay in noidaWebsite designing compay in noida
Website designing compay in noida
 
Website designing company in delhi ncr
Website designing company in delhi ncrWebsite designing company in delhi ncr
Website designing company in delhi ncr
 
Website designing company in mumbai
Website designing company in mumbaiWebsite designing company in mumbai
Website designing company in mumbai
 
Website designing company in noida
Website designing company in noidaWebsite designing company in noida
Website designing company in noida
 
Css Founder.com | Cssfounder Company
Css Founder.com | Cssfounder CompanyCss Founder.com | Cssfounder Company
Css Founder.com | Cssfounder Company
 
Website designing company in faridabad
Website designing company in faridabadWebsite designing company in faridabad
Website designing company in faridabad
 
Css Founder.com | Cssfounder Net
Css Founder.com | Cssfounder NetCss Founder.com | Cssfounder Net
Css Founder.com | Cssfounder Net
 
Website designing company in delhi
Website designing company in delhiWebsite designing company in delhi
Website designing company in delhi
 
Website designing company in gurgaon
Website designing company in gurgaonWebsite designing company in gurgaon
Website designing company in gurgaon
 
Website designing company | Cssfounder.com
Website designing company | Cssfounder.comWebsite designing company | Cssfounder.com
Website designing company | Cssfounder.com
 
Website designing company in noida
Website designing company in noidaWebsite designing company in noida
Website designing company in noida
 
Website designing company in delhi
Website designing company in delhiWebsite designing company in delhi
Website designing company in delhi
 
Css Founder.com | Cssfounder Org
Css Founder.com | Cssfounder OrgCss Founder.com | Cssfounder Org
Css Founder.com | Cssfounder Org
 
Website designing company in gudgaon
Website designing company in gudgaonWebsite designing company in gudgaon
Website designing company in gudgaon
 

Similar to Css Founder.com | Cssfounder se

Intermediate Web Design.doc
Intermediate Web Design.docIntermediate Web Design.doc
Intermediate Web Design.doc
butest
 
Intermediate Web Design.doc
Intermediate Web Design.docIntermediate Web Design.doc
Intermediate Web Design.doc
butest
 
Using Templates And Cascading Style Sheets10
Using Templates And Cascading Style Sheets10Using Templates And Cascading Style Sheets10
Using Templates And Cascading Style Sheets10
Sutinder Mann
 
Using Cascading Style Sheets2
Using Cascading Style Sheets2Using Cascading Style Sheets2
Using Cascading Style Sheets2
Sutinder Mann
 
Lesson 2 cs5
Lesson 2   cs5Lesson 2   cs5
Lesson 2 cs5
dtelepos
 

Similar to Css Founder.com | Cssfounder se (20)

Intermediate Web Design.doc
Intermediate Web Design.docIntermediate Web Design.doc
Intermediate Web Design.doc
 
Intermediate Web Design.doc
Intermediate Web Design.docIntermediate Web Design.doc
Intermediate Web Design.doc
 
Using Templates And Cascading Style Sheets10
Using Templates And Cascading Style Sheets10Using Templates And Cascading Style Sheets10
Using Templates And Cascading Style Sheets10
 
Advanced Web Programming Chapter 8
Advanced Web Programming Chapter 8Advanced Web Programming Chapter 8
Advanced Web Programming Chapter 8
 
Css training tutorial css3 &amp; css4 essentials
Css training tutorial css3 &amp; css4 essentialsCss training tutorial css3 &amp; css4 essentials
Css training tutorial css3 &amp; css4 essentials
 
Chapter 3 - CSS.pdf
Chapter 3 - CSS.pdfChapter 3 - CSS.pdf
Chapter 3 - CSS.pdf
 
Full
FullFull
Full
 
WELCOME-FOLKS--CSS.-AND-HTMLS.pptx
WELCOME-FOLKS--CSS.-AND-HTMLS.pptxWELCOME-FOLKS--CSS.-AND-HTMLS.pptx
WELCOME-FOLKS--CSS.-AND-HTMLS.pptx
 
Tm 1st quarter - 3rd meeting
Tm   1st quarter - 3rd meetingTm   1st quarter - 3rd meeting
Tm 1st quarter - 3rd meeting
 
Using Cascading Style Sheets2
Using Cascading Style Sheets2Using Cascading Style Sheets2
Using Cascading Style Sheets2
 
HowTo_CSS
HowTo_CSSHowTo_CSS
HowTo_CSS
 
HowTo_CSS
HowTo_CSSHowTo_CSS
HowTo_CSS
 
Lecture-6.pptx
Lecture-6.pptxLecture-6.pptx
Lecture-6.pptx
 
Vskills certified css designer Notes
Vskills certified css designer NotesVskills certified css designer Notes
Vskills certified css designer Notes
 
WordPress HTML, CSS & Child Themes
WordPress HTML, CSS & Child ThemesWordPress HTML, CSS & Child Themes
WordPress HTML, CSS & Child Themes
 
INTRODUCTIONS OF CSS
INTRODUCTIONS OF CSSINTRODUCTIONS OF CSS
INTRODUCTIONS OF CSS
 
Intermediate Web Design
Intermediate Web DesignIntermediate Web Design
Intermediate Web Design
 
Chapter 12
Chapter 12Chapter 12
Chapter 12
 
Lesson 2 cs5
Lesson 2   cs5Lesson 2   cs5
Lesson 2 cs5
 
GTU Web Designing Interview Questions And Answers for freshers
GTU Web Designing Interview Questions And Answers for freshersGTU Web Designing Interview Questions And Answers for freshers
GTU Web Designing Interview Questions And Answers for freshers
 

More from Css Founder

More from Css Founder (20)

Cssfounder.com website designing company in delhi
Cssfounder.com website designing company in delhiCssfounder.com website designing company in delhi
Cssfounder.com website designing company in delhi
 
Internet technology and web designing
Internet technology and web designingInternet technology and web designing
Internet technology and web designing
 
Web page design-cssfounder
Web page design-cssfounderWeb page design-cssfounder
Web page design-cssfounder
 
Tech dev cssfounder.com
Tech dev cssfounder.comTech dev cssfounder.com
Tech dev cssfounder.com
 
Digital india-cssfounder.com
Digital india-cssfounder.comDigital india-cssfounder.com
Digital india-cssfounder.com
 
Poverty inindia CssFounder.com
Poverty inindia CssFounder.comPoverty inindia CssFounder.com
Poverty inindia CssFounder.com
 
Poverty in india Cssfounder.com
Poverty in india Cssfounder.comPoverty in india Cssfounder.com
Poverty in india Cssfounder.com
 
Website designing company in delhi e commerce
Website designing company in delhi e commerceWebsite designing company in delhi e commerce
Website designing company in delhi e commerce
 
Website designing company_in_delhi blogging
Website designing company_in_delhi bloggingWebsite designing company_in_delhi blogging
Website designing company_in_delhi blogging
 
Website designing company in delhi blog powerpoint
Website designing company in delhi blog powerpointWebsite designing company in delhi blog powerpoint
Website designing company in delhi blog powerpoint
 
Website designing company_in_delhi e-business
Website designing company_in_delhi e-businessWebsite designing company_in_delhi e-business
Website designing company_in_delhi e-business
 
Website designing company_in_mumbai_digital india
Website designing company_in_mumbai_digital indiaWebsite designing company_in_mumbai_digital india
Website designing company_in_mumbai_digital india
 
Website designing company_in_delhi_digitization practices
Website designing company_in_delhi_digitization practicesWebsite designing company_in_delhi_digitization practices
Website designing company_in_delhi_digitization practices
 
Website designing company_in_delhi_education
Website designing company_in_delhi_educationWebsite designing company_in_delhi_education
Website designing company_in_delhi_education
 
Website designing company_in_delhi_education system
Website designing company_in_delhi_education systemWebsite designing company_in_delhi_education system
Website designing company_in_delhi_education system
 
Website designing company_in_delhi_phpwebdevelopment
Website designing company_in_delhi_phpwebdevelopmentWebsite designing company_in_delhi_phpwebdevelopment
Website designing company_in_delhi_phpwebdevelopment
 
Website development process
Website development processWebsite development process
Website development process
 
Webdesign website development_company_surat
Webdesign website development_company_suratWebdesign website development_company_surat
Webdesign website development_company_surat
 
Internet website designing_company_in_delhi
Internet website designing_company_in_delhiInternet website designing_company_in_delhi
Internet website designing_company_in_delhi
 
Website designing company in delhi
Website designing company in delhiWebsite designing company in delhi
Website designing company in delhi
 

Recently uploaded

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Recently uploaded (20)

Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 

Css Founder.com | Cssfounder se

  • 1. Css Founder| Cssfounder Se http://cssfounder.com
  • 2. HTML Basics and CSS style Css Founder.com
  • 3. Before we start Dreamweaver (DW) may take several minutes to start. Click on Start => Program Files => Development Apps => Web => Dreamweaver MX => Dreamweaver MX to start the program. Accept default choice for layout. Minimizing the Dreamweaver. We will use it later. Copy Everything from my public folder (including this ppt file) to your P: drive. U:msuusernananzhangpublic Css Founder.com
  • 4. HTML File Structure <HTML> <HEAD> </HEAD> <BODY> </BODY> </HTML> Open a Notepad window. Copy the HTML tags to the Notepad. Css Founder.com
  • 5. Web Page Development Cycle EDIT and SAVE the file in your AFS p:webindex.html TEST by BROWSING to the page http://www.msu.edu/~msunetid/index.html Css Founder.com
  • 6. Adding Text to Your HTML File <HTML> <HEAD> <TITLE>My home page</TITLE> </HEAD> <BODY> My name is your name. My major is your major. </BODY> </HTML>Css Founder.com
  • 7. Making paragraphs <HTML> <HEAD> <TITLE>My home page</TITLE> </HEAD> <BODY> <p> My name is your name.</p> <p> My major is your major. </p> </BODY> </HTML> Css Founder.com
  • 8. Adding Information to Web Page My name is your name My major is your major I am creating this page for LBS 126 and will be modifying this page throughout the course. Please visit again! Css Founder.com
  • 9. More HTML tag pairs <u> </u> tag pair is for underline <em> </em> tag pair is for italic style. <H1> </H1> … <H6> </H6> are headlines with different sizes. Css Founder.com
  • 10. Formatting Your Web Page with more tags My name is your name My major is your major I am creating this page for CSE 101 and will be modifying this page throughout the course. Please visit again! Underline & Italic Italic H1 H2 Separate Paragraph Separate ParagraphUnderlineCss Founder.com
  • 11. Now it is time to use Dreamweaver MX Css Founder.com
  • 12. Creating a Link My name is your name My major is your major I am creating this page for CSE 101 and will be modifying this page throughout the course. Please visit again! Make this a link to the LBS Home page Question: what is the HTML tag for Links?Css Founder.com
  • 13. More things to do Make a bullet list for your four favorite things in MSU. Change the font of this list to “Times New Roman” Changing page properties: Set background color for the page. What else can you change for the page properties? Download a MSU logo, save to your web folder and insert to the top of your page. Question: what is the HTML tag for Images?Css Founder.com
  • 14. Problems The Tags only provided limited formatting. H1 is always that big. Links always have an underscore. You can manually change the format for all the H1 headlines, but what about your have 100 pages in your web site? Can we customize the HTML tags? Css Founder.com
  • 15. Cascading Style Sheets (CSS) What is style? Style is a list of formatting instructions. A Cascading Style Sheet is a file with a list of formatting instructions.  CSS style sheets are the modern way to control the appearance and layout of your web pages. 4.0 and up Navigator and IE fully support CSS. Css Founder.com
  • 16. Unpacking Sample Web Site Open the file common.zip you just copied using EnZIP Click on Edit => Extract and extract the files to your web folder The files will appear in a new folder commons Browse to the practice web site http://www.msu.edu/~MSUNetID/commons/ Why didn’t you give a file name in the URL? View all seven pages in the site. What tags control the formatting of the headings? Css Founder.com
  • 17. Cascading Style Sheet Enter the following text into a new Notepad document h2 { font-family : Tahoma; color : blue; text-align : center; } Save the document in the commons folder as csense.css Save as file type Text Document Css Founder.com
  • 18. Attach a Style Sheet to HTML files In properties window- >Styles drop box, choose “Manage styles…” Use “Attach…” to attach the .css file you just created. Do the same thing for all the seven pages. What happens? Css Founder.com
  • 19. Modifying CSS styles h2 { font-family : Tahoma; color: blue; text-align: center; text-transform : uppercase; } body { font-family : Courier New; background-color : #FFEEDD; color : #777733; }Css Founder.com
  • 20. Separation of Content and Presentation Content Use tags like <h1>, <h2>, <p>, <em> or <li> to indicate the structure of your pages Presentation Use a CSS style sheet to determine how the tags are formatted Advantage of separation Changing the formatting only requires editing the style sheetCss Founder.com
  • 21. Edit styles in Dreamweaver In the Design->CSS Styles window you can edit the styles you already have, or create new styles. Let’s create a new style for the link HTML tag: <a> </a> High light the CSS file first Click here Css Founder.com
  • 22. Change the style of HTML Link Tag a:link – Customizes the style of a link that has not been visited recently a:visited -- Customizes the style of a link that has been recently visited a:hover -- Customizes the style of a link while the user’s mouse is over it. Css Founder.com
  • 23. Extra material Downloading the Macromedia Dreamweaver tutorial file from the lecture notes page. Css Founder.com

Editor's Notes

  1. You can switch back to the coding window to see what HTML tags were inserted into you document.