Essential HTML & CSS for WordPress. Mark Raymond Luminys, Inc. 949-654-3890 mraymond@luminys.com www.luminys.com



Similar documents
Contents. Downloading the Data Files Centering Page Elements... 6

CST 150 Web Design I CSS Review - In-Class Lab

How To Create A Web Page On A Windows (For Free) With A Notepad) On A Macintosh (For A Freebie) Or Macintosh Web Browser (For Cheap) On Your Computer Or Macbook (

Web Authoring CSS. Module Descriptor

Web Design and Databases WD: Class 7: HTML and CSS Part 3

Web Design Basics. Cindy Royal, Ph.D. Associate Professor Texas State University

JJY s Joomla 1.5 Template Design Tutorial:

Web layout guidelines for daughter sites of Scotland s Environment

HTML and CSS. Elliot Davies. April 10th,

{color:blue; font-size: 12px;}

Level 1 - Clients and Markup

Development Perspective: DIV and CSS HTML layout. Web Design. Lesson 2. Development Perspective: DIV/CSS

Simply download Beepip from and run the file when it arrives at your computer.

Web Design with CSS and CSS3. Dr. Jan Stelovsky

Dreamweaver CS4 Day 2 Creating a Website using Div Tags, CSS, and Templates

ICE: HTML, CSS, and Validation

Web Development. Owen Sacco. ICS2205/ICS2230 Web Intelligence

Last week we talked about creating your own tags: div tags and span tags. A div tag goes around other tags, e.g.,:

Garfield Public Schools Fine & Practical Arts Curriculum Web Design

Intro to Web Design. ACM UIUC

Outline of CSS: Cascading Style Sheets

Mobile Web Site Style Guide

ITNP43: HTML Lecture 4

Introduction to Adobe Dreamweaver CC

CHAPTER 10. When you complete this chapter, you will be able to:

CSS. CSS - cascading style sheets CSS - permite separar num documento HTML o conteúdo do estilo. ADI css 1/28

GUIDE TO CODE KILLER RESPONSIVE S

This document will describe how you can create your own, fully responsive. drag and drop template to use in the creator.

Web Building Blocks. Joseph Gilbert User Experience Web Developer University of Virginia Library

Style & Layout in the web: CSS and Bootstrap

Campaign Guidelines and Best Practices

HTML CSS Basic Structure. HTML Structure [Source Code] CSS Structure [Cascading Styles] DIV or ID Tags and Classes. The BOX MODEL

What is CSS? Official W3C standard for controlling presentation Style sheets rely on underlying markup structure

CREATING A NEWSLETTER IN ADOBE DREAMWEAVER CS5 (step-by-step directions)

Advanced Editor User s Guide

CIS 467/602-01: Data Visualization

Chapter 7 Page Layout Basics Key Concepts. Copyright 2013 Terry Ann Morris, Ed.D

MCH Strategic Data Best Practices Review

Base template development guide

Web Design Revision. AQA AS-Level Computing COMP2. 39 minutes. 39 marks. Page 1 of 17

Create Your own Company s Design Theme

Introduction to Web Technologies

The Essential Guide to HTML Design

Responsive Web Design: Media Types/Media Queries/Fluid Images

Code View User s Guide

Designing HTML s for Use in the Advanced Editor

Web Design I. Spring 2009 Kevin Cole Gallaudet University

Web Development 1 A4 Project Description Web Architecture

Creator Coding Guidelines Toolbox

Coding HTML Tips, Tricks and Best Practices

Web Developer Jr - Newbie Course

HTML TIPS FOR DESIGNING

WordPress and HTML Basics

How to craft a modern, mobile-optimized HTML template. Jason Samuels, NCFR IT Manager DrupalCamp Twin Cities May 2012

Responsive HTML and Drupal

CSS for Page Layout. Key Concepts

Web Development CSE2WD Final Examination June (a) Which organisation is primarily responsible for HTML, CSS and DOM standards?

Interactive Data Visualization for the Web Scott Murray

Coding Standards for Web Development

COMMONWEALTH OF PENNSYLVANIA DEPARTMENT S OF Human Services, INSURANCE, AND AGING

Module 6 Web Page Concept and Design: Getting a Web Page Up and Running

How to Properly Compose HTML Code : 1

Kentico CMS, 2011 Kentico Software. Contents. Mobile Development using Kentico CMS 6 2 Exploring the Mobile Environment 1

Cascading Style Sheet (CSS) Tutorial Using Notepad. Step by step instructions with full color screen shots

Selectors in Action LESSON 3

We automatically generate the HTML for this as seen below. Provide the above components for the teaser.txt file.

Introduction to Web Development

Web Design and Development ACS Chapter 9. Page Structure

Chapter 1: Outlook Isn t Going Anywhere Chapter 2: 17 Must-Know Tricks for Outlook 2007, 2010 &

CSS 101. CSS CODE The code in a style sheet is made up of rules of the following types

Stylesheet or in-line CSS CSS attributes, used in stylesheets or in-line, can define:

Creating a Resume Webpage with

Creating Web Pages with Dreamweaver CS 6 and CSS

8 STEPS TO CODE KILLER RESPONSIVE S

Learnem.com. Web Development Course Series. Learn em. HTML Web Design in 7 days! By: Siamak Sarmady

Smashing CSS: Professional Techniques for Modern Layout, Meyer, Eric A., Wiley, 2011; ISBN: (Recommended)

Using Style Sheets for Consistency

Web Development I & II*

KOMPOZER Web Design Software

Learning Web Design. Third Edition. A Beginner's Guide to (X)HTML, Style Sheets, and Web Graphics. Jennifer Niederst Robbins

Introduction to web development and JavaScript

CS134 Web Site Design & Development. Quiz1

Basics of HTML (some repetition) Cascading Style Sheets (some repetition) Web Design

Web page design in 7 days!

WEB DEVELOPMENT IA & IB (893 & 894)

FOUNDATION OF INFORMATION TECHNOLOGY Class-X (TERM II)

In this chapter, you will learn how to...

EUROPEAN COMPUTER DRIVING LICENCE / INTERNATIONAL COMPUTER DRIVING LICENCE WEB EDITING

Magento Responsive Theme Design

Web Design for Programmers. Brian Hogan NAPCS Slides and content 2008 Brian P. Hogan Do not reproduce in any form without permission

Joomla! template JSN Mico Customization Manual

HTML Fundamentals IN THIS APPENDIX

Colgate University Website Content Style Guide

CREATING WEB PAGES USING HTML INTRODUCTION

Dreamweaver CS5. Module 1: Website Development

Microsoft Expression Web Quickstart Guide

Creating the Surf Shop website Part3 REVISED

Website Builder Documentation

Responsive Web Design for Teachers. Exercise: Building a Responsive Page with the Fluid Grid Layout Feature

Taking your HTML s to the Next Level. Presented by: Joey Trogdon, Asst. Director of Financial Aid & Veterans Affairs Randolph Community College

Transcription:

Essential HTML & CSS for WordPress Mark Raymond Luminys, Inc. 949-654-3890 mraymond@luminys.com www.luminys.com

HTML: Hypertext Markup Language HTML is a specification that defines how pages are created for the web. <h1>hello, World!</h1> CSS Cascading Style Sheets describes presentation (how things should look) h1 {font-size: 34px; font-weight: bold; color: #ff0000;} Javascript a program language in your web page run by the browser to respond to mouse events, handle form validation, dynamic content (e.g., stock ticker), and animation.

HTML A little HTML knowledge can go a long way Easy to switch between visual and text (html) mode in WordPress WordPress takes care of all the complexities, so that you only need to understand HTML for text and content layout

HTML Tags Tags are how we structure and display content Tags may contain content: <h1>header 1 Text</h1> Some tags don t contain content: <br /> <hr /> All tags must be closed with a / Tags may contain parameters: <a href= /about/ >About Us</a>

HTML Text Tags Headers <h1>header 1 Text</h1> Header 1 <h2>header 2 Text</h2> Header 2 <h3>header 3 Text</h3> Header 3 Paragraphs <p>the quick brown fox</p> The <span> tag is used to apply styles to text inside a paragraph <p>the quick <span style= color:#9a6b49; >brown</span> fox</p> Spacing and colors are applied automatically through CSS

HTML Text Tags: Bullets & Lists OL tag: ordered (numbered) list <ol> <li>list option 1</li> 1. List option 1 <li>list option 2</li> 2. List option 2 <li>list option 3</li> 3. List option 3 </ol> UL tag: unordered (bulleted) list <ul> <li>list option 1</li> List option 1 <li>list option 2</li> List option 2 <li>list option 3</li> List option 3 <ul>

HTML Tags: Images <img src= /wp-content/uploads/2013/10/mark-raymond.jpg /> Image tag elements: img Image tag src Source image URL or URI Let s digress and discuss URLs: http://www.luminys.com/wp-content/updates/2013/10/mark-raymond.jpg Domain Name URI If you re referring to an image on the same domain, then use the URI

HTML Tags: Hyperlinks Hyperlinks link text to other websites: <a href= http://www.luminys.com >Go to the Luminys home page!</a> Or to pages in your own website: <a href= /about/ >About Us</a> And you can link images: <a href= /about/mark-raymond-bio/ > <img src= /wp-content/uploads/2013/10/mark-raymond.jpg /> </a>

HTML Layout Tags: Tables <table> <tr> <th>item</th> <th>cost</th> </tr> <tr> <td>bananas</td> <td>$0.58/lb</td> </tr> <tr> <td>apples</td> <td>$1.32/lb</td> </tr> </table> Avoid using tables for page layout Item Bananas Apples Cost $.058/lb $1.32/lb This table has no style, so simple black outline, no text justification Tags that compose a table: <table> <tr> </tr> <th> </th> <td> </td> Table tag Table row Table header Table cell You can put anything in a cell: text, images, etc.

Sidebar HTML Layout Tags: DIVs DIVs are used for page layout and contain HTML code that you can position on the page WordPress Page Header Your Content <div> <div> <div> Content <div> <div> Footer

HTML Layout: DIVs Example <div style= float: left;width: 33% >The brown fox</div> <div style= float: left; width: 66%; >Runs fast</div> <div style= clear: both; width: 100%; > The quick brown fox runs fast. </div> The brown fox Runs fast The quick brown fox runs fast. We used some inline CSS here: float left, right clear newline or carriage return

Cascading Style Sheets Lots of styles color, size, fonts, outlines, margins and spacing, location on page, transparency A single CSS files can be created with all your styles and included in all your HTML web page Your WordPress theme defines your styles Quality themes include an advance setting where you can add your own custom styles Inline styles are used inside of HTML tags: <span style= color: #0000ff; >Hello!</span>

Let s Digress (again) and talk about color Binary Decimal Hex 0000 0 0 0001 1 1 0010 2 2 0011 3 3 0100 4 4 0101 5 5 0110 6 6 0111 7 7 1000 8 8 1001 9 9 1010 10 A 1011 11 B 1100 12 C 1101 13 D 1110 14 E 1111 15 F 16 colors can be represented as 0 F 16 * 16 = 0x0F * 0x0F = 256 256 shades of color at 00 FF Colors on the web are represented as R(red) G (green) B (blue), with 256 shades of each color: #ffffff #rrggbb white #000000 black #888888 gray #ff0000 #00ff00 #0000ff red green blue

Common CSS styles color:#ffffff; element color in hex width: 250px; element width in pixels font-size: 2em; element size in pixels or em text-align: center; text alignment line-height: 28px; line spacing in pixels or em font-weight: bold; font weight (bold, normal, light) font-family: Arial; Times New Roman, Arial, etc. background-color: #ff0000; element background color in hex background-image: URI or image border: 1px solid #00000; border (pixels, line style, color)

Margin and Padding margin: 25px; Now is the time for all good men to come to the aid of the quick brown fox. padding: 25px; Now is the time for all good men to come to the aid of the quick brown fox.

Making your page pixel perfect Now is the time for all good men to come to the aid of the quick brown fox. The quick brown fox jumped over the log as he chased the rabbit through the forest, where upon he Unformatted, line height pushes text down Now is the time for all good men to come to the aid of the quick brown fox. The quick brown fox jumped over the log as he chased the rabbit through the forest, where upon he tripped and fell and bonked his head. padding-top: 15px; padding-right: 15px; padding-bottom: 15px; or padding: (15px 15px 15px 0);

Questions?

Questions?