Saturday, 17 November 2018

# Detais and summary html5 code



 Details and summary codes 


<!DOCTYPE HTML>

<html>

<head>


<title> detais and summary </title>


</head>


<body>

<h1> Using the details and summary element </h1>


<Details>


<summary>  details and summary element  are newly introducted in the html5 </summary>


</details>


</body>

</html>



Before  click figure 




after click figure 



                                                                     see change  symbol ,



 Using the command element 

<!doctype html>

<html>
<head>
<body> 

< h1> using the command element </h1>

<Menu>
<command onclick ="alert('hello world')"> click here</command>

</menu>
</Body>

</html>


(showing the message box)


<!Doctype html>


<html>

<head>

<body>
<h1> using the command element </h1>


<Menu>

<L1> <command type="radio" radigroup="bgcolor" onclick ="document =.bgcolor=' lightgreen' > light green </command> </L1>

</Menu>

</body>

</html>



  Previous page 👉Codeing websites: What does interactive elements means: What is interactive element  ....? Interactivity is the process of information on web page  and allows the user to communicates with that...

No comments: