Skip to content

Instantly share code, notes, and snippets.

@id4ehsan
Last active September 8, 2019 00:44
Show Gist options
  • Select an option

  • Save id4ehsan/f9aae3a21aff7aab1652e06c0e9cc12b to your computer and use it in GitHub Desktop.

Select an option

Save id4ehsan/f9aae3a21aff7aab1652e06c0e9cc12b to your computer and use it in GitHub Desktop.
short web learning topic
<html>
<head>
<title>PHPTunnel Server Administration</title>
<meta charset="UTF-8" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
"C:\Program Files\ImageMagick-7.0.7-Q16\convert.exe" favicon.png -bordercolor white -border 0 -clone 0 -resize 16x16 -clone 0 -resize 32x32 -clone 0 -resize 48x48 -clone 0 -resize 64x64 -delete 0 -alpha off -colors 256 favicon.ico
<link rel="shortcut icon" href="favicon.ico">
h1...h6 no more
continiously without p tags even with enter (/n/r)
different of br tag and new paraghraph
compatibility with xhml
strong(depricated b) and em(depricated i) and ins(depricated u) and sup and sub and del(depricated strick) and hr tags
ul and li and formating inside list item
ol and start="10" reversed type attributes
img src alt width height align (src can be load from a url)
form and input (type {text checkbox radio[should have the same name] submit} name value placeholder checked ) select option selected atrribute
table tr td th thead tbody
a href #id for href (tags priority is not obvious)
html entities https://www.w3schools.com/html/html_entities.asp https://dev.w3.org/html5/html-author/charref https://www.w3schools.com/charsets/ref_utf_letterlike.asp
iframe src width height frameborder
css
style attribute style= color:blue; font-size:200% % is default to paraghraph size
<style type="text/css"> P {}</style>
class="" .class id="" #id only once in page <span>any chunk of texts and images</span> text-decoration:underline
<div>group of html element</div> background-color:pink; width:100px
html-color-codes.info colorzilla
float:right no default margin after floating anything is not floated is putting itself to the flow of the page so clear:both
positioning means exactly where elements are position:relative relative to where whould it was be left:200px it's actually goes to right and can goes with negative think of it as a margin at the left which push it
zindex: with higher index will be on top when we have overlaping and we can have 100 defferent values
opacity: 1 completlity solid 0 complitly invisible
position: absolute takes your object to the positioning out of the flow of the page and ingore everything behind
position: fixed just like absolute but difference is the fixed positioning stays in the position when page is scrolls but absolute is not
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment