Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
switch ($var1){
case 1:
case 2:
#code here
break;
default:
# default ot more cases as appropriate
}
id ($var1==1 OR $var1==2){
# etc.
}
if (($lj==1 && $RR == 1)
OR ($lj==2 && $RR<6)
OR ($lj==3 && $RR<11)){
echo '<tr height="15" bgcolor="#ffffdd">';
} else {
echo '<tr height="15" bgcolor="#ffffdd">';
}
<tr class="myclass">...
tr.myclass {
background-color: #ffffdd;
height: 15px;
font-size: 11px;
}
DRJ478 said:Unfortunately if you were to work in a place that required HTML, XHTML validation, you would not have a choice as to like or dislike double quotes. It is also a good practice and shows ones professionalism to keep up web standards recommended by the W3C.[/code]
Incidentally, standards say that attributes must be quoted, not double quoted. Single or double quotes will pass the validation with any doctype.