Sunday 31 July 2016

HTML

I'll tune in a series about the causes of the time when HTML and CSS pHp try tiunadebara of the karabaapanadera
I am a computer institutions
From HTML, CSS or pHp I did not learn any of this knowledge is the internet, so if a mistake is delivered.
HTML-'s summary: -
HTML- full version of HyperText Markup Language, HTML (Hyper Text Markup Language). This is a format that can be used in a variety of formatting and hyperlinks. Internet, as well as on the HT
AML is the most commonly used. The file extension .htm or .html can be both.
Using a variety of different tag
Formatting, and link the object to be released
Hayaoyeba the flame's own debhalopim
This khari. Bartamane HTML5 coding system to a very simple language to another. HTML5 has already altered the HTML-. However, there are a lot of work is just across HTML-, HTML5- prayojoniya learning HTML is not in the materials: -
What type of learning additional HTML-
You do not need software ejanya
Microsoft provided enough notapyadai.
If you wish, you can use Notepad ++ And I suggest that any one language while learning languages, codes, you will write your own hands, do not post copy-lt you can learn very quickly.
I read the text above haphiye
Has not it! Who's HTML- prastuta make you attractive to be a little in order to create your first web pages.
First, open Notepad. And next door
Type in the codes the film.
Then click on the html document, and created the first browser to view the web page.
Initial analysis of the above codes: -
Notice that the above code has been tagged
With <html> and end </ html> tag
Arthat with an HTML file
Of course <html> tag begins and ends with </
html> tag.
Not just any tag to the HTML-
<> Mark and end </> symbols are used.
For example: - <body> ... </ body>
The initial HTML page structure: -
Below shows the structure of an HTML page.
<Html>
<Head>
<Title> is the name of your website
Tunerpage </ title>
</ Head>
<Body>
<H2> I'm going to learn HTML ki fun! </
h2>
</ Body>
</ Html>
Analysis: -
<Head> ... </ head> of the approximately
As many skipata javascript, css, etc.
It.
<Title> ... <title> inside your
Tuner is the name of the website yemana
Open your browser to view the pages
Can "Tunerpage. The Ultimate Path of
Bangla Technology "It's basically writing this section
.
<Body> ... </ body> is inside of you
All information pages.

Saturday 30 July 2016

HTML-এর সারসংক্ষেপ

আমি আপনাদের HTML বিষয়ে ধারাবাহিক টিউন দেব ।আর পরে সময় পেলে CSS এবং pHp -এর টিউনদেবার চেষ্টা করব।আপনাদের জানিয়ে
রাখি আমি কিন্তু কোন কম্পিউটার সংস্হা
থেকে HTML ,CSS বা pHp শিখিনি আমার এই জ্ঞান দাতা ইন্টারনেট কাজেই কোন ভূল হলে ধরিয়ে দেবেন ।
HTML-এর সারসংক্ষেপ:-
HTML-এর সম্পূর্ণ রূপ হাইপার টেক্সট মার্ক আপ ল্যাঙ্গুয়েজ ( Hyper Text Markup Language)।এটি একটি ফর্ম্যাট যাতে বিভিন্ন প্রকারের ফর্ম্যাটিং ও হাইপারলিংক ব্যবহার করা যায়। ইন্টারনেটে, তথা ওয়েবসাইটে এইচ টি
এম এল সবচেয়ে বেশি ব্যবহৃত হয়। এই ফাইলের এক্সটেনশন .htm অথবা .html উভয়ই হতে পারে।
এতে বিভিন্ন ট্যাগ ব্যবহার করে বিভিন্ন
ফর্ম্যাটিং, অবজেক্ট ও লিংক প্রকাশ করা
করা হয়।ওয়েব ডেভলোপিং শিখার হাতে-
খরি এটিই । খুবই সহজ সরল একটা কোডিং পদ্ধতি ।বর্তমানে HTML5 বলে আরও একটি ল্যাঙ্গুয়েজ আছে । HTML5 মূলত HTML-এরই পরিবর্তিত রূপ । তবে অনেক কাজ আছে যেগুলি শুধু HTML-তেই হয়,HTML5-এ হয় না HTML শেখার প্রয়োজোনীয় উপকরণ:-
HTML-শেখার জন্য কোন প্রকারের অতিরিক্ত
সফটওয়ারের প্রয়োজন নেই ।এজন্য
মাইক্রোসফট প্রদত্ত নোটপ্যাডই যথেষ্ট ।
আপনারা ইচ্ছা করলে Notepad++ ব্যবহার করে দেখতে পারেন ।আর আমি একটা পরামর্শ দেব যে-কোন ল্যাঙ্গুয়েজ শেখার সময় ল্যাঙ্গুয়েজের কোডগুলিকে আপনারা নিজের হাতে লিখে করবেন ,কপি-পোস্ট করবেন না ।এতে আপনারা খুব তাড়াতাড়ি শিখতে পারবেন ।
উপরের লেখাগুলি পড়তে পড়তে হাফিয়ে
গেছেন তাই না ! আসুন HTML-কে আপনাদের কাছে একটু আকর্ষনীয় করে তুলি ।প্রস্তুত হোন আপনার প্রথম ওয়েব পেজ তৈরি করার জন্য ।
প্রথমে নোটপ্যাড খুলুন । তারপর পাশের
ছবিতে দেওয়া কোডগুলি টাইপ করুন ।
এরপর এই html নথিটিকে ক্লিক করুন আর ব্রাউজারে আপনার তৈরিকৃত প্রথম ওয়েব পেজটিকে দেখুন ।
উপরের কোডগুলির প্রাথমিক বিশ্লেষণ:-
লক্ষ্য করুন উপরের কোডটি শুরু হয়েছে ট্যাগ
দিয়ে<html> এবং শেষ হয়েছে</html> ট্যাগ
দিয়ে ।অর্থাত্ যে কোন HTML ফাইল
অবশ্যই<html> ট্যাগ দিয়ে শুরু এবং শেষ হয় </
html>ট্যাগ দিয়ে ।
শুধু তাই নয় HTML-এর যে কোন ট্যাগ শুরু করতে
<> চিহ্ন এবং শেষ করতে </> চিহ্ন ব্যবহৃত হয় ।
যেমন:- <body> … </body>
প্রাথমিক HTML পেজের গঠন:-
নিচে একটি HTML পেজের গঠন দেখান হল ।
<html>
<head>
<title>আপনার ওয়েবসাইটের নাম যেমন
Tunerpage</title>
</head>
<body>
<h2>আমি HTML শিখতে চলেছি ।কি মজা !</
h2>
</body>
</html>
বিশ্লেষণ:-
<head>…</head> এর ভেতরে সাধারনত
বিভিন্ন স্কিপট যেমন javascript,css ইত্যাদি
থাকে ।
<title>…<title> এর ভেতরে আপনার
ওয়েবসাইটের নাম থাকে ।যেমন টিউনার
পেজ খুললে ব্রাউজারের উপরে দেখতে
পারবেন ” Tunerpage । The Ultimate Path of
Bangla Technology ” এটি মূলত এই অংশে লেখা

<body> … </body> এর ভেতরে থাকে আপনার
পেজের যাবতীয় তথ্য ।

HTML TAG List

HTML TAGS

Basic HTML

Tag Description
<!
DOCTYPE>
Defines the document type
<html> Defines an HTML document
<title> Defines a title for the
document
<body> Defines the document's
body
<h1> to
<h6>
Defines HTML headings
<p> Defines a paragraph
<br> Inserts a single line break
<hr> Defines a thematic change
in the content
<!--...--> Defines a comment
Formatting
Tag                Description
<abbr> instead.
Defines an acronym
<abbr> Defines an abbreviation oran acronym
<address> Defines contact
information for the author/
owner of a document/
article
<b> Defines bold text
<bdi> Isolates a part of text that
might be formatted in a
different direction from
other text outside it
<bdo> Overrides the current text
direction
<big> Not supported in HTML5.
Use CSS instead.
Defines big text
<blockquote> Defines a section that is quoted from another source
<center> Not supported in HTML.
Use CSS instead.
Defines centered text
<cite> Defines the title of a work
<code> Defines a piece of
computer code
<del> Defines text that has been
deleted from a document
<dfn> Represents the defining
instance of a term
<em> Defines emphasized text
<font> Not supported in HTML5.
Use CSS instead.
Defines font, color, and
size for text
<i> Defines a part of text in an
alternate voice or mood
<ins> Defines a text that has
been inserted into an document
<kbd> Defines keyboard input
<mark> Defines marked/highlighted
text
<meter> Defines a scalar
measurement within a
known range (a gauge)
<pre> Defines preformatted text
<progress> Represents the progress of
a task
<q> Defines a short quotation
<rp> Defines what to show in
browsers that do not
support ruby annotations
<rt> Defines an explanation/
pronunciation of characters
(for East Asian typography)
<ruby> Defines a ruby annotation(for East Asian typography)
<s> Defines text that is no
longer correct
<samp> Defines sample output
from a computer program
<small> Defines smaller text
<strike> Not supported in HTML5.
Use <del> or <s> instead.
Defines strikethrough text
<strong> Defines important text
<sub> Defines subscripted text
<sup> Defines superscripted text
<time> Defines a date/time
<tt> Not supported in HTML5.
Use CSS instead.Defines teletype text
<u> Defines text that should be
stylistically different from
normal text
<var> Defines a variable
<wbr> Defines a possible line-
break
Forms and Input
Tag Description
<form> Defines an HTML form for
user input
<input> Defines an input control
<textarea> Defines a multiline input
control (text area)
<button> Defines a clickable button
<select> Defines a drop-down list
<optgroup> Defines a group of related options in a drop-down list
<option> Defines an option in a drop-
down list
<label> Defines a label for an <input>
element
<fieldset> Groups related elements in a
form
<legend> Defines a caption for a
<fieldset> element
<datalist> Specifies a list of pre-defined
options for input controls
<keygen> Defines a key-pair generator
field (for forms)
<output> Defines the result of a
calculation Frames
Tag Description
<frame> Not supported in HTML5.
Defines a window (a frame)
in a frameset
<frameset> Not supported in HTML.
Defines a set of frames
<noframes> Not supported in HTML.
Defines an alternate content
for users that do not support
frames
<iframe> Defines an inline frame
Images
Tag Description
<img> Defines an image
<map> Defines a client-side image-
map
<area> Defines an area inside an
image-map
<canvas> Used to draw graphics, on
the fly, via scripting (usually
JavaScript)
<figcaption> Defines a caption for a
<figure> element
<figure> Specifies self-contained
content
Audio / Video
Tag Description
<audio> Defines sound content
<source> Defines multiple media
resources for media elements
(<video> and <audio>)
<track> Defines text tracks for media
elements (<video> and
<audio>)
<video> Defines a video or movie
Links
Tag

<a> Defines a hyperlink
<link> Defines the relationship between
a document and an external
resource (most used to link to
style sheets)
<nav> Defines navigation links
Lists
Tag Description
<ul> Defines an unordered list
<ol> Defines an ordered list
<li> Defines a list item
<dir> Not supported in HTML5.
Use <ul> instead.
Defines a directory list
<dl> Defines a description list
<dt> Defines a term/name in a
description list
<dd> Defines a description of a term/name in a description
list
<menu> Defines a list/menu of
commands
<menuitem> Defines a command/menu
item that the user can
invoke from a popup menu
Tables
Tag Description
<table> Defines a table
<caption> Defines a table caption
<th> Defines a header cell in a
table
<tr> Defines a row in a table
<td> Defines a cell in a table
<thead> Groups the header content in
a table
<tbody> Groups the body content in a table<tfoot> Groups the footer content in
a table<col> Specifies column properties
for each column within a
<colgroup> element
<colgroup> Specifies a group of one or
more columns in a table for
formatting
Styles and Semantics
Tag Description
<style> Defines style information for
a document
<div> Defines a section in a
document
<span> Defines a section in a
document
<header> Defines a header for a
document or section
<footer> Defines a footer for a
document or section
<main> Specifies the main content
of a document
<section> Defines a section in a
document
<article> Defines an article
<aside> Defines content aside from
the page content
<details> Defines additional details
that the user can view or
hide
<dialog> Defines a dialog box or
window<summary> Defines a visible heading for
a <details> element
Meta Info
Tag Basic HTML
Tag Description
<!
DOCTYPE>
Defines the document type
<html> Defines an HTML document
<title> Defines a title for the
document
<body> Defines the document's
body
<h1> to
<h6>
Defines HTML headings
<p> Defines a paragraph
<br> Inserts a single line break
<hr> Defines a thematic change
in the content
<!--...--> Defines a comment
Formatting
Tag Description
<acronym> Not supported in HTML5.
Use <abbr> instead.
Defines an acronym
<abbr> Defines an abbreviation or
an acronym
<address> Defines contact
information for the author/
owner of a document/
article
<b> Defines bold text
<bdi> Isolates a part of text that
might be formatted in a
different direction from
other text outside it
<bdo> Overrides the current text
direction
<big> Not supported in HTML5.
Use CSS instead.
Defines big text
<blockquote> Defines a section that is
quoted from another
source
<center> Not supported in HTML5.
Use CSS instead.
Defines centered text
<cite> Defines the title of a work
<code> Defines a piece of
computer code
<del> Defines text that has been
deleted from a document
<dfn> Represents the defining
instance of a term
<em> Defines emphasized text
<font> Not supported in HTML5.
Use CSS instead.
Defines font, color, and
size for text
<i> Defines a part of text in an
alternate voice or mood
<ins> Defines a text that has
been inserted into a
document
<kbd> Defines keyboard input
<mark> Defines marked/highlighted
text
<meter> Defines a scalar
measurement within a
known range (a gauge)
<pre> Defines preformatted text
<progress> Represents the progress of
a task
<q> Defines a short quotation
<rp> Defines what to show in
browsers that do not
support ruby annotations
<rt> Defines an explanation/
pronunciation of characters
(for East Asian typography)
<ruby> Defines a ruby annotation
(for East Asian typography)
<s> Defines text that is no
longer correct
<samp> Defines sample output
from a computer program
<small> Defines smaller text
<strike> Not supported in HTML5.
Use <del> or <s> instead.
Defines strikethrough text
<strong> Defines important text
<sub> Defines subscripted text
<sup> Defines superscripted text
<time> Defines a date/time
<tt> Not supported in HTML5.
Use CSS instead.
Defines teletype text
<u> Defines text that should be
stylistically different from
normal text
<var> Defines a variable
<wbr> Defines a possible line-
break
Forms and Input
Tag Description
<form> Defines an HTML form for
user input
<input> Defines an input control
<textarea> Defines a multiline input
control (text area)
<button> Defines a clickable button
<select> Defines a drop-down list
<optgroup> Defines a group of related
options in a drop-down list
<option> Defines an option in a drop-
down list
<label> Defines a label for an <input>
element
<fieldset> Groups related elements in a
form
<legend> Defines a caption for a
<fieldset> element
<datalist> Specifies a list of pre-defined
options for input controls
<keygen> Defines a key-pair generator
field (for forms)
<output> Defines the result of a
calculation
Frames
Tag Description
<frame> Not supported in HTML5.
Defines a window (a frame)
in a frameset
<frameset> Not supported in HTML5.
Defines a set of frames
<noframes> Not supported in HTML5.
Defines an alternate content
for users that do not support
frames
<iframe> Defines an inline frame
Images
Tag Description
<img> Defines an image
<map> Defines a client-side image-
map
<area> Defines an area inside an
image-map
<canvas> Used to draw graphics, on
the fly, via scripting (usually
JavaScript)
<figcaption> Defines a caption for a
<figure> element
<figure> Specifies self-contained
content
Audio / Video
Tag Description
<audio> Defines sound content
<source> Defines multiple media
resources for media elements
(<video> and <audio>)
<track> Defines text tracks for media
elements (<video> and
<audio>)
<video> Defines a video or movie
Links
Tag Description
<a> Defines a hyperlink
<link> Defines the relationship between
a document and an external
resource (most used to link to
style sheets)
<nav> Defines navigation links
Lists
Tag Description
<ul> Defines an unordered list
<ol> Defines an ordered list
<li> Defines a list item
<dir> Not supported in HTML5.
Use <ul> instead.
Defines a directory list
<dl> Defines a description list
<dt> Defines a term/name in a
description list
<dd> Defines a description of a
term/name in a description
list
<menu> Defines a list/menu of
commands
<menuitem> Defines a command/menu
item that the user can
invoke from a popup menu
Tables
Tag Description
<table> Defines a table
<caption> Defines a table caption
<th> Defines a header cell in a
table
<tr> Defines a row in a table
<td> Defines a cell in a table
<thead> Groups the header content in
a table
<tbody> Groups the body content in a
table
<tfoot> Groups the footer content in
a table
<col> Specifies column properties
for each column within a
<colgroup> element
<colgroup> Specifies a group of one or
more columns in a table for
formatting
Styles and Semantics
Tag Description
<style> Defines style information for
a document
<div> Defines a section in a
document
<span> Defines a section in a
document
<header> Defines a header for a
document or section
<footer> Defines a footer for a
document or section
<main> Specifies the main content
of a document
<section> Defines a section in a
document
<article> Defines an article
<aside> Defines content aside from
the page content
<details> Defines additional details
that the user can view or
hide
<dialog> Defines a dialog box or
window
<summary> Defines a visible heading for
a <details> element
Meta Info
Tag Description
<head> Defines information about
the document
<meta> Defines metadata about an
HTML document
<base> Specifies the base URL/
target for all relative URLs in
a document
<basefont> Not supported in HTML5. Use
CSS instead.
Specifies a default color,
size, and font for all text in a
document
Programming
Tag Description
<script> Defines a client-side script
<noscript> Defines an alternate content
for users that do not support
client-side scripts
<applet> Not supported in HTML5. Use
<embed> or <object> instead.
Defines an embedded applet
<embed> Defines a container for an
external (non-HTML)
application
<object> Defines an embedded object
<param> Defines a parameter for an
object
<head> Defines information about
the document
<meta> Defines metadata about an
HTML document
<base> Specifies the base URL/
target for all relative URLs in
a document
<basefont>. Use CSS instead Specifies a default color,
size, and font for all text in a
?document

Programming
Tag Description
<script> Defines a client-side script
<noscript> Defines an alternate content
for users that do not support
client-side scripts
<applet> Not supported in HTML5. Use
<embed> or <object> instead.
Defines an embedded applet
<embed> Defines a container for an
external (non-HTML)
application
<object> Defines an embedded object
<param> Defines a parameter for an
object

HTML & CSS LEARNING

HTML Styles - CSS

Styling HTML with CSS
CSS stands for C ascading Style S heets.
CSS describes how HTML elements are to be
displayed on screen, paper, or in other media.
CSS saves a lot of work. It can control the
layout of multiple web pages all at once.
CSS can be added to HTML elements in 3
ways:
Inline - by using the style attribute in
HTML elements
Internal - by using a <style> element in the
<head> section
External - by using an external CSS file
The most common way to add CSS, is to keep
the styles in separate CSS files. However,
here we will use inline and internal styling,
because this is easier to demonstrate, and
easier for you to try it yourself.
Tip: You can learn much more about
CSS in our CSS Tutorial.
Inline CSS
An inline CSS is used to apply a unique style
to a single HTML element.
An inline CSS uses the style attribute of an
HTML element.
This example sets the text color of the <h1>
element to blue:
Example
< h1
style ="color:blue;"> This is
a Blue Heading </h1 >
Try it Yourself »
Internal CSS
An internal CSS is used to define a style for a
single HTML page.
An internal CSS is defined in the <head>
section of an HTML page, within a <style>
element:

Example

< !DOCTYPE html>
< html>
< head>
< style >
body { background-color :
powderblue;}
h1 { color : blue;}
p { color : red;}
< /style >
< /head >
< body>
< h1 > This is a heading </h1 >
< p > This is a paragraph. </
p >
< /body >
< /html >
Try it Yourself

External CSS

An external style sheet is used to define the
style for many HTML pages.
With an external style sheet, you can change
the look of an entire web site, by changing
one file!
To use an external style sheet, add a link to it
in the <head> section of the HTML page:

Example

< !DOCTYPE html>
< html>
< head>
< link rel="stylesheet"
href="styles.css">
< /head >
< body>
< h1 > This is a heading </h1 >
< p > This is a paragraph. </
p >
< /body >
< /html >
Try it Yourself

An external style sheet can be written in any
text editor. The file must not contain any
HTML code, and must be saved with a .css
extension.
Here is how the "styles.css" looks:
body {
background-color :
powderblue;
}
h1 {
color: blue;
}
p {
color: red ;
}
CSS Fonts
The CSS color property defines the text color
to be used.
The CSS font-family property defines the font
to be used.
The CSS font-size property defines the text
size to be used.

Example
< !DOCTYPE html>
< html>
< head>
< style >
h1 {
color: blue;
font-family: verdana ;
font-size: 300% ;
}
p {
color: red ;
font-family: courier ;
font-size: 160% ;
}
< /style >
< /head >
< body>
< h1 > This is a heading </h1 >
< p > This is a paragraph. </
p >
< /body >
< /html >
Try it Yourself

CSS Border
The CSS border property defines a border
around an HTML element:
Example
p {
border: 1px solid
powderblue;
}
Try it Yourself »
CSS Padding
The CSS padding property defines a padding
(space) between the text and the border:

Example
p {
border: 1px solid
powderblue;
padding: 30px;
}
Try it Yourself »
CSS Margin
The CSS margin property defines a margin
(space) outside the border:
Example
p {
border: 1px solid
powderblue;
margin: 50px;
}
Try it Yourself
The id Attribute
To define a specific style for one special
element, add an id attribute to the element:
< p id="p01"> I am
different < /p >
then define a style for the element with the
specific id:
Example
#p01 {
color: blue;
}
Try it Yourself
Note: The id of an element should be
unique within a page, so the id selector
is used to select one unique element!
The class Attribute
To define a style for a special type of
elements, add a class attribute to the
element:
< p class ="error"> I am
different < /p >
then define a style for the elements with the
specific class:
Example
p.error {
color: red ;
}
Try it Yourself
Chapter Summary
Use the HTML style attribute for inline
styling
Use the HTML <style> element to define
internal CSS
Use the HTML <link> element to refer to
an external CSS file
Use the HTML <head> element to store
<style> and <link> elements
Use the CSS color property for text colors
Use the CSS font-family property for text
fonts
Use the CSS font-size property for text
sizes
Use the CSS border property for borders
Use the CSS padding property for space
inside the border
Use the CSS margin property for space
outside the border