Html Course

<html> - HTML markup opening - indicates that the information that follows is written in HTML
<head> - the opening HEAD tag - page header starts here
<title>Page Title</title> - TITLE tag - here is write a few words about the content of the page - those words will appear in the browser's title bar, if the page is added to a favorites list, they appear as the name of the page.
<meta name = "keywords"
content = "... a list of keywords ...">
<meta name = "description"
content ="... suggestive phrase ...">
... other instructions: JavaScript,
CSS, etc. ...
- metatags - help search engines to index the page.
- the value of attributes, such as "keywords" should be enclosed with double quotes ("), the keywords from content attribute are separated by a comma, eg: content="courses, free lessons, html, tutorials".
</head> - closing HEAD tag - page header ends here, what is in the header does not appear in the browser window.
<body> - opening BODY tag - it begins the body of the document, here is added the content that appears in Web page
... Text Content, HTML tags, images ... - everything that is addes here will be displayed in the browser window
</body> - closing BODY tag - it indicates the end of the document body
</html> - closing HTML tag

The HTML instructions (also called tags) begin with an open angle bracket < followed immediately by the name of the tag, one or more attributes (optional), then an closing angle bracket >.
Most instructions in pairs, the first is marking the opening and is of the form: that from the end it's the closing mark and does not contain attributes or spaces, is as follows: Spaces are permitted only between the statement and attribute names. The content located between the opening and closing tag will have the characteristics of that element.
The browser ignores the elements that it can't understand and those misspelled.
For example (if we symbolize the space by '_', than):
 
Wrong Result Good Result
<_h2>text</h2> < h2>text <h2> text </h2>

text

<_h4 _ style=color:red> text </_h4_> < h4 style=color:red> text </ h4 > <h4 style="color:red"> text </h4>

text

Daily Test with Code Example

HTML
CSS
JavaScript
PHP-MySQL
Which tag is used to add definition lists into a <dl> element?
<dt> <dd> <li>
<dl>
 <dt>HTML</dt>
  <dd> - Hyper Text Markup Language</dd>
  <dd> - Language for web pages</dd>
</dl>
Which CSS property can hide an element on page, letting an empty space in its place?
display position visibility
#id {
  visibility: hidden;
}
Click on the event which is triggered when the mouse clicks on an object.
onclick onmouseover onfocus
document.getElementById("id").onclick = function(){
  alert("http://CoursesWeb.net/");
}
Indicate the PHP variable that contains the contents of both $_GET, $_POST, and $_COOKIE arrays.
$_SESSION $_GET $_REQUEST
if(isset($_REQUEST["id"])) {
  echo $_REQUEST["id"];
}
The general structure of HTML document

Last accessed pages

  1. The Four Agreements (1620)
  2. Node.js Course (2595)
  3. Check if table exists in database (9942)
  4. Insert, Select and Update NULL value in MySQL (58994)
  5. Inheritance - Parent class and Child class (5174)

Popular pages this month

  1. Courses Web: PHP-MySQL JavaScript Node.js Ajax HTML CSS (253)
  2. Read Excel file data in PHP - PhpExcelReader (91)
  3. The Four Agreements (77)
  4. PHP Unzipper - Extract Zip, Rar Archives (76)
  5. The Mastery of Love (66)