I have been attempting to align a select attribute in HTML to the right side of the page, but so far I have been unsuccessful. Below are the codes that I have tried:
<!DOCTYPE html>
<html>
<body>
<h1>Java Casting</h1>
<h3>From</h3>
<h3 align="right">To</h3>
<select>
<option value="int">int</option>
<option value="double">double</option>
<option value="long">long</option>
<option value="String">String</option>
</select>
<select align="right" >
<option value="int">int</option>
<option value="double">double</option>
<option value="long">long</option>
<option value="String">String</option>
</select>
</body>
</html>