Contents
~ Welcome~ Intro to HTML Tags & Commands
~ Intro to CSS Tags and Commands
~ More HTML Tags & Commands
~ CSS Text Properties
~ More CSS Selectors
~ Links
I hope you all are enjoying coding websites with HTML and CSS.
Now you can create your own website!
Begins the visible part of a webpage.
Heading sizes One through Six create bold lettering of larger size compared to paragraph text.
Creates a blank line on the page. Like this...
Begins a paragraph for large amounts of text. This text is inside a paragraph tag.
Makes text you put between the tags italics.
Makes text you put between the tags bold.
Tag to add content inside of a ordered or unordered list.
Loads an image onto the webpage. Images can be uploaded to hosting site
or the URL can be copied from another page on the Internet.
NOTE:Use the exact URL for the image, not a search engine URL.
Will display text when image will not load. Necessary for hearing-impaired users.
Sets the width of an image or object.
Sets the height of an image or object.
Note:It is recommended to only set the width or height of an image,
as the browser will proportion the image so that it is not stretched or squished.
Must be in the head. Necessary when adding preloaded CSS code (the look or style) of a webpage.
Used in the style brackets. Changes the color of the text of the object assigned.
Used in the style brackets. Changes the background color of the text or object assigned.
Changes the specific amount of RED, GREEN, and BLUE, in which each number can be between 1 and 255.
Used in the style brackets to assign attributes to specific id.
Used inline to assign a tag a specific id.
Used in the style brackets to assign attributes to specific class.
Used inline to assign a tag a specific class.
Note:When assigning a tag use a # before the name. When assiging a class use a . before the name.
When assigning an id, use "". When assigning a class, DON'T use "".
Links to other website or part of current page.
Put inside <a> tag & opens link in new window.
Create comment for coders. Will not show up on webpage.
Tag to begin a table.
Begins your headings.
Indicates a new row in a table.
Creates a heading style for text in table.
Begins the main body of a table.
Creates data or information to go into heading columns.
Meal | Ingredients | Price |
---|---|---|
Spaghetti | Noodles and sauce | $12.99 |
Meatloaf | Meat, stuff, and ketchup | $2.99 |
Toast | Bread | $120 |
Sets font to text. Examples(Serif, Sans-Serif, Monospaced, Fantasy, Script).
Note:You can set specific fonts like Times New Roman,
but a page should always be coded with a back up font family in case a users computer does not support the specified font.
Ex. (Times New Roman, Times, serif;)
Changes the size of the font. Uses px(pixels) or em(emphasis). Examples w/pixels (Ten, Twenty, Thirty)
Controls the weight or boldness of text. Used in the <style> tag.
This is using font-weight=bold;
Changes text between
normal
italic
oblique
All-in-one font modification. This is oblique 30 fantasy.
Controls the space between lines.
This is 7% between lines.
This is 7% between lines.
This is 200% between lines.
This is 200% between lines.
This text is left aligned.This text is center aligned.This text is right aligned 10%.
Removes the underline from a link. Used in style tag. Example:
a {text-decoration: none;}
This size is 80 px.
This is 1.5em.
Adds space on top, left, right, and bottom of an object.
Example: padding-top(15px), padding-right(25px), padding-bottom(50), padding-left(80)
Adds border to selected objects.
dotted
dashed
solid
A double border.
A groove border.
A ridge border.
An inset border.
An outset border.
A mixed border.
Groups together text to change properties. Use classes and id's.
Groups specific objects together.
Created by Zachary Colston