CSS - Cascading Style Sheets
Pages that give style to HTML
Code - Cheat Sheet
Monday, January 13, 2020
CSS - Definition
CSS - Cascading Style Sheets. Adding style to web documents. i.e. color, design, typefaces, object placement, accessibility, transitions, etc.
HTML - Definition
HTML
HyperText Markup Language. This is a file format, based on SGML, for hypertext documents on the Internet. It is very simple and allows for the embedding of images, sounds, video streams, form fields and simple text formatting. References to other objects are embedded using URLs.
SOURCE:
https://docs.oracle.com/javase/tutorial/information/glossary.html
HyperText Markup Language. This is a file format, based on SGML, for hypertext documents on the Internet. It is very simple and allows for the embedding of images, sounds, video streams, form fields and simple text formatting. References to other objects are embedded using URLs.
SOURCE:
https://docs.oracle.com/javase/tutorial/information/glossary.html
Wednesday, January 1, 2020
CSS - Linking to HTML
<link href="css/styles.css" rel="stylesheet" type="text/css" media="screen"
-name of css file
-rel, type, and media
-name of css file
-rel, type, and media
CSS: adjusting space around obejcts
padding margin border
-to have no space around objects set "padding: 0, margin: 0, border"
padding values
first value is top and bottom
second value is left and right
-to have no space around objects set "padding: 0, margin: 0, border"
padding values
first value is top and bottom
second value is left and right
CSS Properties - Font
font-family - type of font
font-size - size of font
font-weight - bold
font-style - italic
color: #f00
Practice - 01/01/2019
ul
<li><a href="home">Home</a></li>
ul
<li><a href="Contact"><Contact</a></li>
<section>
</section>
ul
<a href="About">
ul>li*7<a
Create a list of social media icons
ul
li<a href="http://www.facebook.com/">img src= " "</a>
li<a href"http:www.twitter.com/"> img src= " "</a>
li<a href="http:www.linkedin.com/"> img src= " " </a>
li< a href="http:www.instagram.com/"> img src- " " </a>
<li><a href="home">Home</a></li>
ul
<li><a href="Contact"><Contact</a></li>
<section>
</section>
ul
<a href="About">
ul>li*7<a
Create a list of social media icons
ul
li<a href="http://www.facebook.com/">img src= " "</a>
li<a href"http:www.twitter.com/"> img src= " "</a>
li<a href="http:www.linkedin.com/"> img src= " " </a>
li< a href="http:www.instagram.com/"> img src- " " </a>
Website Design Process
Sketch Out Site Layout. Gather resources (text, images, tables, etc.)
Setup Site in Dreamweaver
Create Pagae Structure html
Add Sample Content to Structure
Create Page Presentation CSS - Fromatting and Positioning
Repeat steps 3-5 for additional page designs
Create templates and pages to your site
Add actual content to page
Publish final site
Distinguishing between Head and Body Section
<head>
</head>
<body>
</body>
users cannot see what's within head.
content goes within body section
Doc Type Statement
A Document Type Declaration, or DOCTYPE for short, is an instruction to the web browser about the version of markup language in which a web page is written. ... With HTML5 this is no longer the case and the doctype declaration is only needed to enable the standard mode for documents written using the HTML syntax
SOURCE:
https://www.tutorialrepublic.com/html-tutorial/html-doctypes.php
SOURCE:
https://www.tutorialrepublic.com/html-tutorial/html-doctypes.php
Insert Images
Insert Images
1. (type) ".image-one" (click tab)
<div class="image-one"></div>
2. (type) img (click tab)
<img src="" alt="">
SOURCE:
https://tutorialehtml.com/en/html-tutorial-inserting-images/
<section>
right-click, select class
<section> class"feature-images">
<div class="image-one">
<img src ="images/gameimages. jpg" width= 90% alt=" "
p>lipsum (tab)
</section>
1. (type) ".image-one" (click tab)
<div class="image-one"></div>
2. (type) img (click tab)
<img src="" alt="">
SOURCE:
https://tutorialehtml.com/en/html-tutorial-inserting-images/
<section>
right-click, select class
<section> class"feature-images">
<div class="image-one">
<img src ="images/gameimages. jpg" width= 90% alt=" "
p>lipsum (tab)
</section>
CSS - Terms
https://www.cram.com/flashcards/coding-sites-11154992
#header {}
body in header
ex: background-blue: #EEEE
#container { }
background - color
text-align: center
color: white
center
margin-left: auto
margin-right: auto
#content - content header
#nav div - divs always appear on a new line
Code - Links (HTML)
Code - Links (HTML)
<li> </li> - bullets (list items)
<a href= "index.html">home</a> - links
<li><a href= "index.html">home</a> </li> - bullets with links
ul>li*7>a - bullets with links (shortcut)
<br> - breakout
© - copyright symbol
<ul>
<li><a href="index.html">home</a></li>
<li><a href="index.html">about</a></li>
<li><a href="index.html">games</a></li>
<li><a href="index.html">reviews</a></li>
<li><a href="index.html">contact</a></li>
<h1> </h1> - header
<p> </p> - paragraph
<section> </section> - section
<article> </article> - article
<footer> </footer> - footer
Insert Images
1. (type) ".image-one" (click tab)
<div class="image-one"></div>
2. (type) img (click tab)
<img src="" alt="">
<section>
right-click, select class
<section> class"feature-images">
<div class="image-one">
<img src ="images/gameimages. jpg" width= 90% alt=" "
p>lipsum (tab)
</section>
Web Page - Building (analogy0
4 Different aspects to each web page
-Structure - HTML
-Presentation - CSS
-Content - Text/Images
-Action - Javascript/PHP
Subscribe to:
Posts (Atom)
Panels
Panels are the items at the right side of the Photoshop window that can display layer information and text options SOURCE: https://www...
-
With get, data is included in the form body when send to the server. With post, the data goes through the URL HTTP's purpose is to en...
-
A <track> is used as a child of an audio <video width="640" height="480" src="https://archive.org/do...
-
SOURCE: https://www.quora.com/What-are-the-difference-between-centralized-database-system-and-client-server-database-system Centralized dat...