HTML & CSS A brief introduction. OUTLINE 1.What is HTML? 2.What is CSS? 3.How are they used together? 4.Troubleshooting/Common problems 5.More resources.

Slides:



Advertisements
Similar presentations
Anatomy of a Web Page. Parts of a Web Page Title Bar Navigation Tool Bar Location Bar Header Graphic/Image Text Horizontal Rule Links.
Advertisements

HTML Basics Customizing your site using the basics of HTML.
Intro to HTML. HTML HTML = HyperText Markup Language Used to define the content of a webpage HTML is made up of tags and attributes Content.
Introduction to HTML & CSS
Designing Websites Using HTML and FrontPage A Typical Webpage View Source A webpage is a text file containing instructions to tell a computer how the.
HTML: HyperText Markup Language Hello World Welcome to the world!
Hypertext markup language.  Client asks for an html file  Server returns the html file  Client parses and displays it  This display is what most people.
HTML Overview - Cascading Style Sheets (CSS). Before We Begin Make a copy of one of your HTML file you have previously created Make a copy of one of your.
MIS 425 Lecture 2 – HTML Navigation, Colors, tables and Styles Instructor: Martin Neuhard
Making Things Look Nice: Visual Appearance and CSS CMPT 281.
Introduction to CSS. What is CSS? A CSS (cascading style sheet) file allows you to separate your web sites (X)HTML content from it’s style. Use your (X)HTML.
Web Page Development Identify elements of a Web Page Start Notepad
Web Program Development1 February 23, 2011 HTML Web Page Development Debbie Bartlett February 23, 2011.
Cascading Style Sheet (CSS) Instructor: Dr. Fang (Daisy) Tang
Introduction to Web Authoring Bill Hart-Davidson AIM: billhd30 Session 11
Tags through Forms. This element is required for all HTML pages It must be at the top of every page of every website We’ll see later on why it is important.
Introduction to HTML. What is a Web site? A collection of "pages" or files linked together and available on the World Wide Web What do you need to create.
CSS (Cascading Style Sheets): How the web is styled Create Rules that specify how the content of an HTML Element should appear. CSS controls how your web.
JMD2144 – Lesson 5 Web Design & New Media. ‘Div’ide and conquer One of the most versatile structure tags available is the.. tag Short for ision, it allows.
Review HTML  What is HTML?  HTML is a language for describing web pages.  HTML stands for Hyper Text Markup Language  HTML is not a programming language,
Basics of HTML.
© 2012 Adobe Systems Incorporated. All Rights Reserved. LEARNING THE LANGUAGE OF THE WEB INTRODUCTION TO HTML AND CSS.
 ult.htm ult.htm  This website illustrates the use of CCS (style sheets)
Cascading Style Sheets (CSS) 1.  What is CSS?  Why CSS?  How to write a CSS? 2.
Learning HTML. HTML Attributes HTML elements can have attributes Attributes provide additional information about an element Class – specifies a class.
18 People Surveyed HTML (HyperText Markup Language) HTML “tags” Describes structure Building blocks Headings, paragraphs, lists, links, images, quotes,
INTERMEDIATE WEB DESIGN INTRODUCTORY CSS, JAVASCRIPT AND PHP.
 HTML stands for Hyper Text Mark-up Language. The coding language used to create documents for the World Wide Web  HTML is composed of tags. HTML tags.
Learning Web Design: Chapter 4. HTML  Hypertext Markup Language (HTML)  Uses tags to tell the browser the start and end of a certain kind of formatting.
IDs versus Classes Naming Your Tags for Maximum Functionality.
HTML CRASH COURSE. What is HTML?  Hyper Text Markup Language  The language used to make web pages  Written by using tags.
Just A Few More Fun Objectives 1 Having Some Fun With Java Script 2 Using Style Sheets.
CSS CSS is short for C ascading S tyle S heets. It is a new web page layout method that has been added to HTML to give web developers more control over.
CSS Basic (cascading style sheets)
Copyright 2007, Information Builders. Slide 1 Understanding Basic HTML Amanda Regan Technical Director June, 2008.
HTML: Hyptertext Markup Language Doman’s Sections.
Definition CSS “Short for Cascading Style Sheets, a new feature being added to HTML that gives both Web site developers and users more control over how.
Ali Alshowaish. What is HTML? HTML stands for Hyper Text Markup Language Specifically created to make World Wide Web pages Web authoring software language.
Introduction to Web Authoring Ellen Cushman Class mtg. #14.
HTML ( HYPER TEXT MARK UP LANGUAGE ). What is HTML HTML describes the content and format of web pages using tags. Ex. Title Tag: A title It’s the job.
| imodules.com HTML Best Practices: The Key to a Successful Starts with the Template Presented by Chris Smith, Manager of Design.
HTML GUIDE Press F5 and then Click on the links on the left to get to the section you want Section 1: Getting Started Section 2: Moving Banner Section.
Cascading Style Sheets Creating a Uniform Site. Style Sheets  Style sheets are used for conformity on a web page or web site.  Style sheets eliminate.
Are You Smarter Than a 5 th Grader? 1,000,000 5th Grade HTML 5th Grade Syntax 4th Grade HTML 4th Grade Syntax 3rd Grade HTML 3rd Grade Syntax 2nd Grade.
CSS Cascading Style Sheets A very brief introduction CSS, Cascading Style Sheets1.
Introduction to HTML UWWD. Agenda What do you need? What do you need? What are HTML, CSS, and tags? What are HTML, CSS, and tags? html, head, and body.
Spiderman ©Marvel Comics Creating Web Pages (part 1)
Getting Started with HTML. HTML  Hyper Text Markup Language  HTML isn’t a program language, its known as a markup language  A Markup language has tags.
Style Sheets. Coding Style Sheets  Style sheets use RULES to create the style  A selector (a tag or user-defined style name)  and then declarations.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
Introduction to Web Authoring Ellen Cushman /wra210.htm Class mtg. #2.
Your HTML website creating your first html file. Creating an HTML FIle Open note pad from accessories, programs. Write code. Save and view. In 3 Steps.
HTML. HTML: What is it? – HTML stands for Hyper Text Markup Language – An HTML file is a text file containing small markup tags – The markup tags tell.
CSS IS A LANGUAGE DESIGNED TO TARGET HTML ELEMENTS AND NODES BY TYPE, CLASS, ID AND VALUE, AND CHANGE THEIR VALUES CSS – change how your HTML looks and.
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
NASRULLAHIBA.  It is time to take your web designing skills to the next level with Cascading Style Sheets (CSS). They are a way to control the look and.
Introduction to HTML Dave Edsall IAGenWeb County Coordinator’s Conference June 30, 2007.
Basic HTML Page 1. First Open Windows Notepad to type your HTML code 2.
HTML Help book. HTML HTML is the programming language used to make web pages for the Internet. HTML stands for Hyper Text Markup Language. HTML is made.
Source of website: “Text/css rel=“styles heet” This is an external style sheet link. This means that the.
INTRODUCTION ABOUT DIV Most websites have put their content in multiple columns. Multiple columns are created by using or elements. The div element is.
CSS Introductions. Objectives To take control of the appearance of a Web site by creating style sheets. To use a style sheet to give all the pages of.
Week 1: Introduction to HTML and Web Design
Web Basics: HTML/CSS/JavaScript What are they?
Introduction to web design discussing which languages is used for website designing
TOPICS Chrome Dev Tools Process for Building a Static Website
Introduction to Web Authoring
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
Computer communications
Web Programming and Design
Presentation transcript:

HTML & CSS A brief introduction

OUTLINE 1.What is HTML? 2.What is CSS? 3.How are they used together? 4.Troubleshooting/Common problems 5.More resources

HTML What is it?

HYPERTEXT MARKUP LANGUAGE HTML makes up the structure of your webpage (CSS is design) This includes things like headers, paragraphs, links, images, divs, tables, forms, etc. In the past, HTML used to do design, too, but most of that is depreciated code in favor of CSS. HTML is a forgiving language (You can technically type anything in Notepad and save it as FILENAME.html and it’s an HTML document), but it does have a specific syntax that should be followed  You need to declare HTML, Head, and Body at the minimum  Some tags close and some don’t  We’re going to go over the basics. If you were developing a production website, you would add more header information for accessibility and indexing by web searches (SEO).

THE VERY BASICS & HTML SYNTAX – 1.HTML This is the title of my page This is a very basic page.

HTML Start with HTML: this lets the browser know what is going on. There’s an opening and closing tag to show where HTML starts and HTML ends. Everything else is going in between these two tags.

HEAD Next comes the Head. Everything that applies to the rest of the document’s code will come in here. This means scripts like CSS (design) and JavaScript usually come into play here. Title shows the title of your page in the tab. This is the title of my page

BODY Finally, body. This is the meat of your page. All the structures of the page, text, images, etc. will appear here. This one just has a paragraph in it with some text. You’ll notice the paragraph also opens and closes. HTML has attributes in its tags as well like This is a very basic page.

A LITTLE MORE CONTENT – 2.HTML Cue to open 2.html

CSS So what is this then?

CASCADING STYLESHEETS CSS is the design! It lets us take what we just wrote and make it nicer. You can specifically pick out almost any aspect of the HTML and tell it to be a certain color, size, font, width, etc. Because it’s a script that applies to the whole page, it goes in the area of the HTML. It has a different syntax than HTML. Finally, CSS can be added into a page many different ways.

ADDING CSS & CSS SYNTAX – 3.HTML body { background-color:#eee; font-family:Calibri, Arial, Helvetica, sans-serif; color:#444; } h1, h2, h3, h4 { font-weight:500; } strong { color:rgb(38, 131, 198); }

CSS CAN TRANSFORM YOUR WEBSITE

HTML & CSS – 3 WAYS TO USE THEM TOEGETHER Together now!

WAY #1 – INTERNAL CSS You can just add put your CSS in the head of your HTML and wrap it in tags if you like. Page body { background-color:#eee; font-family:Calibri, Arial, Helvetica, sans-serif; color:#444; }

WAY #2 – EXTERNAL CSS You can write CSS in a notepad file and just save it as a.css file type. From there, you can easily reference the coding externally with this script. This is normally what production sites use because the stylesheets become rather large. Page

WAY #3 – INLINE CSS Style is an HTML attribute that you can add to any HTML tag. Inside, you can put CSS for that specific element. It’s not an elegant solution in most cases, but this works really well for s. Page

HTML & CSS CAN DO THE SAME THING Page Title Lorem ipsum Lorem ipsum Page Title body { background-color:#fff; } p { color:blue; font-family:Arial; } Lorem ipsum

TROUBLESHOOTING/COMMON PROBLEMS Can we fix it? Yes, we can!

ABOUT OUR CODE Our Templates usually use a lot of inline code and span HTML tags to style text. This can cause redundancies. We also have certain classes that we use like “pageContainer” and “cdTableContent” Layouts for s are normally made up of tables. This is also how we code layouts in Drag and Drop, Block, and Free Style.

CODE WE GENERATED LOOKS LIKE THIS

DON’T PANIC

HTML TABLES Row 1, Column 1, Cell 1 Row 1, Column 2, Cell 2 Row 2, Column 1, Cell 3 Row 2, Column 2, Cell 4 TR – this indicates a row TD – this is a cell

PROBLEM #1 – SPACING

PROBLEM #2 – FONTS AND COLORS

RESOURCES I get by with a little help from my friends

LINKS dfhttp:// df