HTML



Reminder codes :
div class="line"

<div class="row"> <!-- start new row color -->
<div class="display_panel_p1">
<a href="#"><strong>display_panel_p1</strong></a>
<div>
<div class="display_panel_p2">
<a href="#"><strong>display_panel_p2<strong></a>
<div>
<div> <!-- End new row color -->
Reminer 1 is for left column 2 is for right column


Audio single file player

Player example

Edited for my Website

Music Player with HTML, CSS, Javascript

Link to application

control table cell width and padding, TD width

The key is to not put any control tags in the table tag

1A 2A 3A 4A
1B 2B 3B 4B

Link Styles

<link rel="stylesheet" type="text\css" href="\styles_Scripts\fontfix.css">

Embed Styles into a page

<style>
p ❴ font-family: verdana; font-size: 20px; ❵
<\style>

embedding styles inside html

<p style="color:blue; font-size:90%;font-weight: bold; text-align: right; vertical-align: middle;">This makes a blue small font<\p>

style to hide an html element

<p style="display: none;">Made this paragraph disapeear<\p>

vertical-align: top;

<td style="vertical-align: top;">Align Top<\td>

Link

<a href="index.php" id="link_id">Link home<\a>

Ancor Link

<a id="repeated-phrases-B">jump source</a>
<a href="#repeated-phrases-B">Jump to the part of the page with the “anchor-name” id </a> <a href="index.php" id="link_id">Link home<\a>

Image

<a href="images.jpg" target="_blank"><img src="images.jpg" alt="Alt text" height="400px" style="width: 100%; max-width: 600px; object-fit: contain;" \> </a> <img src="images.jpg" alt="Alt text" height="20px" width="10px" \>

Audio in HTML5

<button class="button_text" onclick="document.getElementById('lwm_tub_hab_nyaab').play()">Play</button> <audio id="lwm_tub_hab_nyaab"><source src="../audio/wedding/lwm_tub_hab_nyaab.mp3"></audio> <a href="../audio/wedding/lwm_tub_hab_nyaab.mp3" download="lwm_tub_hab_nyaab"><img src="../images/button_download2.png"></a>

I created a javascript to play words
<button class="button_line_text" onclick="play_word('khaiv')">khaiv<button>

Image checkbox

An image used as a check box
An image used as a check box random with PHP

Symbols, ASCII code

- reference page

¹ - &#xb9; &#185; ² - &#xb2; &#178;³ - &#xb3; &#179;
< - &lt; > - &gt;" - &quot;
spacer - &nbsp;♥ - &hearts;♠ - &spades;
♣ - &clubs;♦ - &diams;→ - &rarr;
← - &larr;© - &copy;@ - &commat;
Ω - &#8486;Ω - &#8486; ☀- &#9728;
☁ - &#9729;★ - &starf;☉ - &#9737;
☚ - &#9754;☛ - &#9755;☻ - &#9787;
☺ - &#9786;✌ - &#9996;✓ - &check;
• - &#8226; ‘ - &#8216’ - &#8217;
“ - &#8220; ” - &#8221;½ - &##189;
¼ - &#188; > - &#62;< - &#60;
☰ - &#9776; ❴ - &#10100;❵ - &#10101;
& - &amp; ▼ - &#9660;▽ - &#9661;
➤ - &#10148 ❯ - &#10095;⇇; - &#8647;
❮ - &#10094; ⤵ - &#10549;⇶ - &#8694;
⇚ - &#8666; ⇛ - &#8667;⇉ - &#8649;
⇊ - &#8650;↳ - &#8627\ - &bsol;
▼ - &#9660;. - &period;⅓ - &#8531;
; - &#59;: - &#58;# - &#35;
- &#9658; ◼ - &#9724; ● - &#9679;

Input text read only

use html readonly with no quotes or double quotes
<input type="text" value="no edit" size="15" readonly>

Div example

Simple Div example

Form elements

<form method="post">
Having not action will submit a form onto it's self

<form name="test_form" method="post" action="/action_page.php" onsubmit="return form_validation();">
<input name="key_id" type="hidden" value="keytest1234" id="key_id">


<input name="phone" id="phone" placeholder="phone number">


Participating?
<input id="participation" type="radio" name="participation" value="yes" checked > Yes
<input id="participation" type="radio" name="participation" value="no" > No
Yes
No

How many
<select id="num_count" name="num_count" style="width:100px;"> <option value="0">0</option><option value="1">1</option><option value="2">2</option><option value="3">3</option> </select>


check to add
<input type="checkbox" name="to_add" id="to_add" value="Y" />


comments
<textarea id="comments" name="comments" rows="5" cols="30" style="width:95%; height:50px;"></textarea>

<input type="submit" name="submit_local" value="Submit" />


</form>

Form Validation


<script>
function form_validation() {
var $phone = document.forms["test_form"]["phone"];
var $email = document.forms["test_form"]["email"];
var $last_name = document.forms["test_form"]["lname"];
var $number = document.forms["test_form"]["number"];

if ($phone.value == "") {
window.alert("Please enter phone.");
$phone.focus();
return false;
} else if ($last_name.value == "") {
window.alert("Please enter your last name.");
$last_name.focus();
return false;
} else if ($email.value != $email2.value) { // check two values
window.alert("The emails you have entered do not match");
$email.focus();
return false;
} else if (isNaN($number.value) == true) { // check if is numberic
window.alert("The amount must be a number");
$number.focus();
return false;
}
}
</script>