Code - Cheat Sheet

Showing posts with label html. Show all posts
Showing posts with label html. Show all posts

Monday, January 13, 2020

Structure: 3 Main Parts

<html>

<head>

</head>

<body>

</body>

</html>

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

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

Website Layout

<!doctype html>

<html>

<head>

</head>

<body>

</body>

</html>

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

&copy - 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>

Tuesday, December 17, 2019

Terms

HTML - structure and content to a web page
CSS - provide style to the web page

Panels

Panels are the items at the right side of the Photoshop window that can display layer information and text options SOURCE: https://www...