Tuesday, 9 February 2016

HTML Tutorial

HTML-Banner


What Is HTML?

HTML is a markup language, not a programming language. In fact, the term HTML is an acronym that stands for Hypertext Markup Language. You can apply this markup language to your pages to display text, images, sound and movie files, and almost any other type of electronic information. You use the language to format documents and link them together, regardless of the type of computer with which the file was originally created.
HTML is written as plain text that any Web browser or word processing software can read. The software does this by identifying specific elements of a document (such as heading, body, and footer), and then defining the way those elements should behave. These elements, called tags, are created by the World Wide Web Consortium (W3C).
simple HTML page
<html>
<head>
<title>My Second Web Page</title>
</head>
<body>
Place Your Code Here
</body>
</html>

Paragraphs


In HTML, a paragraph is created whenever you insert text between the <p> tags
<p>This is my first XHTML page.</p>

Headings
HTML enables you to add six different heading tags to your pages by using the tags <h1><h6>. These tags are very simple to use.

<h1>This is Heading 1</h1>

Saturday, 6 February 2016

Object Oriented Programming (OOPS)

Object Oriented Programming Banner OOP

Class

     In object oriented programming basic working unit start with a class. Class is a template which comprises all the aspect of an object which is a instance of a class.

     In OOP we first create a class to solve any problem. A Class is divide into two parts first is Data section other is function or method section. In data section we get data member which are needed to solve a problem and function section we implement function section functions are defined which handle data.

Class Diagram example OOPs

Monday, 1 February 2016

How to make HTML File using PHP

If you are familiar with C filing programming then your knowledge will be work here. Just copy and paste the following complete code and implement your logic as you want 

<?php 
if($_POST['submit'])
{
$myfile = fopen($_POST['fnm'].".html", "w") or die("Unable to open file!");
;
fwrite($myfile, $_POST['msg']);
fclose($myfile);
}
?>

YouTube HTML 5 Embed iframe code from URL with PHP

Hi folks
I was making a website and my client request me to upload youtube video on his website. For do this take some fact about youtube video



  • When upload video. Youtube provide a unique URL for every uploaded video which user can use to share their video to other platform or other youtube user.
  • Iframe is used to show youtube video on other website
  • An embedded URL need in iframe SRC