Summary For (HTML-CSS-Bootstrap-PHP&mysql)
Summary For (HTML-CSS-Bootstrap-PHP&mysql)
First : HTML
<!doctype html>:
represent the document type and help the browser to display web
page correctly.
<html> :
start point for the code “closen tag”</html>
<head> :
content of all metadata for the web “closen tag”</head>
<body>:
define the document body “closen tag”</bodyl>
Heading element in html <h>: headings are titles or subtitles that you want to
display on a webpage
<h1>: defines the most important heading.
<h1>hello</h1>
<h6>: defines the least important heading.
<h6>copyrights<h6>
<Style>:
to make style for elments in html
<img src=”” alt =””> :
to set image in the document
HTML Lists:
allow web developers to group a set of related items in lists.
Order list <ol>: tag.
Each list item starts with the <li> tag.
The list items will be marked with numbers
Ex:
<ol>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ol>
allow web developers to group a set of related items in lists.
Order list <ul>: tag.
Each list item starts with the <li> tag.
The list items will be marked with bullests
Ex:
<ul>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
</ul>
The HTML class: attribute is used to specify a class for an HTML element
<body class=”container”></body>
The HTML id: attribute is used to specify a unique id for an HTML element.
<body id=”item”></body>
Second: css
Selector{ text-align:center}
Aligment of a text
Selector {font-wieght :200}
The boldiness of a font
Selector{letter-spacing :30px}
The space between characters
Selector:hover{}
When mouse hovers
Selector{box-shadow:color}
Make colored shadow for the box
Third: Bootstrap
Fourth:PHP
PHP can create, open, read, write, delete, and close files on the server
PHP can collect form data
PHP can add, delete, modify data in your database
Php code: In suntax php the code start with “<?php ” and end “?>”
variable starts with the “$” sign, followed by the name of the variable
Ex $x=8;
Echo: statement is used to output data to the screen.
Ex echo “hello world“ ;
Foreach($array/$var){Statements; } :
Is used as a for loop to loop an array
Fifth:sql