Sunday, 10 January 2021
How to make a HTML website Class 10 in Notepad plus plus offline?
How to make a HTML website Class 10 in Notepad plus plus offline?
1.introduction of notepad++ application
2.Open Notepad plus plus and type HTML Code
output:
Saturday, 9 January 2021
How to add background image from paint to HTML?
How to add background image from paint to HTML?
learn how to add background images from pain to HTML program step by step
(a) crate a creative background by paint to HTML programs
1.create a beautiful image and save it
2.creating a html code and set background
3.Run a HTML page
Thursday, 7 January 2021
Write a code to set up background color as yellow text as red heading as"This is my html
Write a code to set up background color as yellow text as red heading as"This is my html
how create a simple web page of school website?
how create a simple web page of school website?
dear user we write a simple html code as you seen as given below you learn step to step how to create a school websites pages
learn how to make web page
step1.
In widows operating system click at the start button then click at the all programs files and then click at Accessories and then
click at the note pad.
step2.
write given code as given below.
step3.
click at file menu save with course name and with html extension like course.html
step4 .
double click at the course.html file and open its on any webbrowser like chrome ,internet expolar ,mozila fire foxz.
step5.
look the view of your web pages.
learn what tag use in this program and why?
1.fristly creating a basic structure of html programs
<html>
<head>
<tilte>school weblsit</title>
<body >
</body>
2.add heade text by using font tag .
3.<hr> use to drwa line.
4.making a list of subjects by using <ul> tags. and write subject name by using <li>.
5. now we are creating a contact form by using <form> tag and <table> tags.
where <form > use to input data form users.
and <table > tag is use manage the fields for right place.
full html source code of school web site page
<html>
<head>
<title>simple html web page coding</title>
</head>
<body bgcolor="yellow">
<center><font size="72" color="red">Mordern Public School</font></center>
<hr width="100%" height="2">
<marquee> new admition start</marquee>
<hr>
<h1> Course offered</h1>
<ul>
<li>Master of computer(MCA)<sup><font color="red">New</font></sup></li>
<li>Master of Information of techonology(M.Sc IT)<sup><font color="red">New</font</sup></li>
<li>Master of Art(M.A.)<sup><font color="red">New</font></sup></li>
<li>Master of Bussiness(MBA)<sup><font color="red">New</font></sup></li>
<li>Bacheler of Eduction(BCA)<sup><font color="red">New</font></sup></li>
<li>Bacheler of chemistry</li>
<li>Bacheler of Dance</li>
</ul>
<h1> For more information contact us </h1>
<q>Mobli no.</q><big>9450803009</big>
<h1> For inqury fill the given form and submit details</h1>
<table border ="5" bordercolor="pink">
<tr><td>
<table >
<tr bgcolor="blue" ><td>Enter your firts name:</td><td><input type="text" placeholder="fist name"/></td></tr>
<tr bgcolor="white" ><td>Enter your last name:</td><td><input type="text" placeholder="last name"/></td></tr>
<tr bgcolor="blue" ><td>Enter your date of birth:</td><td><input type="text" placeholder="DOB"/></td></tr>
<tr bgcolor="white" ><td>Select you code:</td><td><select><option>MCA</option>
<option>MBA</option>
<option>MSc IT</option>
<option>BCA</option>
<option>B.A.<option></select></td></tr>
<tr bgcolor="blue" ><td>Seclect your category</td><td><group><input type="radio"/>SC<input type="radio"/>OBC<input type="radio"/>GENERAL</goup></td></tr>
<tr bgcolor="white" ><td>Enter your personal contect number</td><td><input type="text" placeholder="mobile number"/></td></tr>
<tr bgcolor="blue" ><td colspan="2" align="center"><input type="submit" value="Send information"/></td></tr>
</table>
</td>
</tr>
</table>
<hr>
</body>
</html>
Friday, 1 January 2021
Cheat Sheet of HTML 5 (EVENT HANDLER CONTENT ATTRIBUTES)
Cheat Sheet of HTML 5 (EVENT HANDLER CONTENT ATTRIBUTES)
In this post you collect some specific attributes that are adding some new attributes in HTML5 to generating event at web pages you can use it very smothaly and simply find some powerful event ,do very less code ,here we write their name and works shorlty that attributes added in HTML5.| onebeforeonload | Before onload event |
| oncanplay | Media can start play |
| oncanplaythrough | Media can played to end |
| oncontextmenu | context menu is triggered |
| ondrag | element is dragged |
| ondragend | at the of drag operation |
| ondragenter | element dragged on drop target |
| ondragleave | element leaves valid drop target |
| ondragover | element is dragged over drop target |
| ondragstart | at the start of drag operation |
| ondrop | dragged element is being dropped |
| ondurationchange | length of media is changed |
| onemptied | media resource element becomes empty |
| onended | media has reached end |
| oneerror | error occurs |
| onformchange | form changes |
| onforminput | form gets user input |
| onhaschange | document has changed |
| oninput | message is triggered |
| oninvalid | element gets user input |
| onloadeddata | Media data is loaded |
| onloadedmetadata | duration of media element is loaded |
| onloadstart | browser starts to load media data |
| onmessage | element is invalid |
| onmousewheel | mouse wheel is being rotated |
| onpause | media data is paused |
| onplay | media data is going to start playing |
| onplaying | Media data has started playing |
| onprogress | browser is fetching media data |
| onratechange | media data's rate has changed |
| onscroll | element's scrollbar is being scrolled |
| onseeked | element's seeking attribute is not true |
| onseeking | element's seeking attribute is true |
| onstalled | there is error in fetching media data |
| onstorage | document loads |
| onsuspend | browser has stopped fetching media data |
| ontimeupdate | media changes its playing position |
| onvolumechange | media changes volume, also when mute |
| onwaiting | media has stopped playing |
Existing event handler attributes cheat sheet in HTML4 AND HTML5
you can find some specific attributes that are controled event in html4 and html5 boths. we write some attributes and their brifly explanations here.| onabort | abort event |
| onbeforeunload | before unload event |
| onclick | mouse clicked event |
| ondblclick | mouse double-clicked event |
| ongesturechange | gesture change event |
| ongestureend | end of gesture event |
| ongesturestart | start of gesture event |
| onkeydown | key pressed down event |
| onkeypress | key pressed event |
| onkeyup | key released event |
| onmousedown | mouse button pressed down event |
| onmousemove | mouse moved event |
| onmouseout | mouse cursor exited event |
| onmouseover | mouse cursor entered event |
| onmouseup | mouse button released event |
| onmove | move event |
| onorientationchange | device orientation changed event |
| onpaste | paste event |
| onresize | resize event |
| ontouchcancel | touch canceled event |
| ontouchend | touch ended event |
| ontouchmove | touch move event |
| ontouchstart | touch start event |
Thursday, 31 December 2020
Free downloads HTML cheat sheet
Free downloads HTML cheat sheet
how downlads this HTML cheat sheet
simple open this file at a chrome web browser and clik at the print option and selcet save as a pdf file and save it in your computer
| Document Outline | |
| version of (x)HTML | |
| HTML document | |
| page information | |
| page contents | |
| Comments | |
| Comments Text in html code | |
| Page Information | |
| base of URL in HTML | |
| using in Meta data | |
| title of html pages | |
| Relevant resource | |
| style resource | |
| Script resource | |
| Document Structure | |
| heading tags use in html | |
| Page section at html page | |
| Inline section in html pages | |
| Pagragraph tag in html | |
| break line tag use in html | |
| Horizontal rul or line tag | |
| Links tags | |
| it is use to make page link | |
| creating a email link | |
| Useing in Anchor | |
| create a Link to anchor | |
| Text Markup Tags | |
| Strong emphasis | |
| Emphasis | |
| Long quotation | |
| short quotation | |
| Abbreviation | |
| Acronym | |
| Address | |
| Pre-formatted text | |
| Definition | |
| code | |
| Citation | |
| Deleted text | |
| Inserted Text | |
| Subscript | |
| Superscript | |
| Text Direction | |
| List Tags | |
| Ordered List | |
| Unordered List | |
| List Item | |
| Definition List | |
| Definition terms | |
| Term description | |
| Forms | |
| Form | |
| Collection of fields | |
| Form legend | |
| Input Label | |
| Form Input | |
| Drop-down box | |
| Group of options | |
| Drop down options | |
| Large text input | |
| Button | |
| Tables | |
| Table | |
| Caption of table | |
| Table header | |
| Table body | |
| Table footer | |
| column group | |
| Column | |
| Table row | |
| header cell | |
| Table cell | |
| Images and Image Maps | |
| Image | |
| Image Map | |
| Area of Image Map | |
| Common Character Entities | ||
| " | " | Quotation mark |
| & | & | Ampersand |
| < | < | Less than |
| > | > | Greater than |
| @ | @ | "AT" symbol |
| € | | Euro |
| • | . | small Bullet |
| ™ | TM | Trademark |
| £ | £ | Pound |
|   | Non Breaking Space | |
| © | © | copyright symbol |
| Objects | |
| Object | |
| Parameter | |
| Empty Elements | |
| An Empty Elements | |
| An Empty Elements | |
| An Empty Elements | |
| An Empty Elements | |
| An Empty Elements | |
| An Empty Elements | |
| An Empty Elements | |
| An Empty Elements | |
| An Empty Elements | |
| An Empty Elements | |
| Core Attributes | |
| class | Style |
| id | title |
| Note:core attributes may not be used in base ,head ,html, meta, param, script,style or title elements | |
| Language Attributes | |
| dir | lang |
| Note:Language attributes may not be used in base head ,br,frame,framesethr,iframe,param or script elements. | |
| keyboard attributes | |
| accesskey | tabindex |
| windows Events | |
| onLoad | onUnioad |
| windows Events | |
| onLoad | onUnioad |
| Form Events | |
| onBlur | onReset |
| onChange | onSelect |
| onFocus | onSubmit |
| Eeyboard Event | |
| onKeydown | onKeyup |
| onKeypress | |
| Mouse Event | |
| onClick | onMouseout |
| onDblclick | onMouseover |
| onMousedown | onMouseup |
| onMousemove | |
Saturday, 19 December 2020
Create web page using table and form tags types of HTML
Create web page using table and form tags types of HTML
creating an html web page for candidate using some tags like form ,table tags etc.here we are creating a user form at web pages using some html tags and give some specification
<html> tags
this tag is use to starting tag of html creating any web pages now you can say it is a basic HTML tags in html programs.
<head> tag
this tag use at the top of html pages it is use to connection script like java script vb script and CSS.
<title> tag
use to description the web pages title or you say name of creating web pages.
<body> tag
it a basic tag of HTML programming and provided basic structure of html programs.
<font > tag
this tag use to formatting any web pages like text color and text font etc.
<table > tag
Use a table tag to crating table for managing forms.
<form > tag
use to creating creating an application form at the sever side user use this form submitting data
<tr> element
this element is use to creating a row with table
<td> element
this element use to creating a coloumn with in table
textbox-
use for entering text at the user form.
<select>
element are use to creating al list
<radio>
radio button are used to creating a some optional value
<text area>
text area element support a large amount of text and it hold it in text Area.
<button>
Button element are use to creating an events.
A good html program for user app
<html>
<head>
<title>using some tags of HTML</title>
</head>
<body bgcolor="pink">
<font size="16" face="elephant">
<center>
<table border="3" height="50% " width="50%" bordercolor="black" bgcolor="white">
<form method="get" action="this.html">
<tr><td>Enter frist name:</td><td><input type="text" placeholder="enter your frist name"/></td></tr>
<tr><td>Enter second name:</td><td><input type="text" placeholder="enter your frist name"/></td></tr><tr><td>Select your gender</td><td>Male<input type="Radio"/>Fmale<input type="Radio" /></td></tr>
<tr><td>Select your course:</td><td><select> <option>O-leve</option><option>A-leve</option><option>A-leve</option><option>c-level</option></select></td></tr><tr><td>Select your type</td><td>GEN<input type="checkbox" />OBC<input type="checkbox" />SC<input type="checkbox" />ST<input type="checkbox" /></td></tr><tr><td>seen some fee of cources</td><td><ol><li>o-level  600/-</il><li>A-level  600/-</il><li>B-level  600/-</il></ol></td></tr>
<tr><td colspan="2">type some message about your life</td></tr>
<tr><td colspan="2"><textarea id="internationalyoutacuity" name="internationalyoutacuity" rows="4" cols="100"></textarea></td></tr>
<tr><td colspan="2" align="center"><input type="button" value="submit details"/> </td></tr>
</form>
</table>
</font>
</center>
</body>
</html>
out put:
How to play different video according to Day in HTML?
HTML5 has the most important features that support for multimedia ,In previous version you need to plug in to play video or audio.The world wide web consortium (W3C) firstly introduced the video element for the purpose of playing videos and movies at the web pages without help of any plug ins.But W3C does not responsible for videos formats developer must provide formats that are available across the web browsers.
some popular video formats that are uses
ogg/Theora(.ogv extension)
Ogg/Theora format appears to be a format that is royalty free without patent issues and
supported by the Firefox, Chrome, and Opera browsers.
WebM/VP8 (.webm extension)
WebM/VP8 video format is supported by the Firefox, Chrome, Opera, and Android
browsers. In addition, Internet Explorer 9+ will support this format when the VP8 codec
is installed.
MPEG-4/H.264 (.mp4 extension)
This format is supported by the Internet Explorer, Chrome, and Safari browsers, but Chrome has announced its intent to remove support for MPEG-4/H.264 in the near future.
the <video> element play video at web pages you can use it with some important attributes The following is a sample example of <video> element.<video> element.
<video width="340" height="260" controls="controls">
<source src="movie.mp4" />
You need a new web browser that supports HTML5.
</video>
Setting the source
The <source> element is a specifies path of video source. you need to set the src attribute to the URL of the video. and also make a setting include more than one <source> element to provide many sources so the web browser can choose the most appropriate video codec.
here given some formats of videos.
<video controls="controls" height="480">
<source src="eagle.webm" type='video/webm; codecs="vorbis, vp8"' />
<source src="eagle.ogv" type='video/ogg; codecs="theora, vorbis"' />
<source src="eagle.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"' />
</video>
Good Configuring of <video> element
The <video> element provide the good behavior you need for your web web page.
Some of the attributes you can use to configure the <video> element .
(A) auto play Specifies that video starts playing immediately.
(B)controls Specifies that the play/pause button, video cursor, and maximize be displayed.
(C)height Indicates the height in pixels of the rendered <video> element.
(d)loop Specifies that the video will repeat when it has reached the end of its stream.
(E)muted Specifies that the audio is silent.
(F)poster Specifies that the URL of an image is to be shown when the video is not playing.
(G)reload Specifies how the video should be loaded when the page loads. It can be set
to auto, metadata, or none. The auto setting starts loading the video when the page
loads. The metadata setting loads only the metadata, and the none setting doesn’t
load anything.
(H) src Specifies the URL of the video.
(I)width Indicates the width in pixels of the rendered <video> element.
some examples of html
Example 1:
<video controls>
<source src="vid1.webm" type='video/webm;codecs="vp8, opus"'/>
<source src="vid2.mp4" type='video/mp4;codecs="avc1.4D401E, mp4a.40.2"'/>
</video>
Example 2:
<video src="vid1.mp4"></video>
<video controls src="https://internationalyouthacuity.blogspot.com/short.mp4" preload="none"></video>
Example 3:
<video controls controlsList="nofullscreen nodownload" src="https://internationalyouthacuity.blogspot.com/short.mp4" preload="none"> </video>
Example 4:
<video controls src="https://internationalyouthacuity.blogspot.com/short.mp4#t=15,20" preload="metadata"> </video>
Example 5:
<video preload="metadata" controls src="https://internationalyouthacuity.blogspot.com/short2.webm" preload="metadata"> </video>
Example 6:
<video playsinline src="https://internationalyouthacuity.blogspot.com/short.mp4"> </video>
<video loop controls src="https://internationalyouthacuity.blogspot.com/short.mp4"></video>
<video muted controls src="https://internationalyouthacuity.blogspot.com/short.mp4"> </video>
Example 7:
<video controls="" preload="metadata" width="422" height="253">
<source src="/static/the-web-is-always-changing.webm" type="video/webm">
<track label="English subtitles" kind="subtitles" srclang="en" src="/static/the-web-is-always-changing.vtt" default="">
</video>
Example 8:
<video controls autoplay>
<source src="movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
Your browser does not support the video tag.
</video>
Example 9:
Play videos according to time or hours or day.
function showElementAndPlayVideo(id) {
const myElement = document.querySelector("#" + id);
myElement.style.display = 'block';
myFunctionToPlayVideo(id);
}
function showElementAtTime(id, hour) {
var now = new Date();
var time = new Date(now.getFullYear(), now.getMonth(), now.getDate(), hour, 0, 0, 0) - now;
var timeEnd = new Date(now.getFullYear(), now.getMonth(), now.getDate(), hour, 59, 59, 0) - now;
if(now >= time && now < timeEnd) {
showElementAndPlayVideo(id);
} else if(time < now) {
setTimeout(() => showElementAndPlayVideo(id), now - time);
}
}










