I'm assuming you want to actually use the accordion widget from jQuery UI? In that case you need to actually run some code to tell jQuery that you want to do that.
After your tags importing the two scripts, add this:
<script>
$(function() {
$( "#accordion" ).accordion();
});
</script>
This tells jQuery to find the tag with the id accordion
and run the function .accordion()
on it, which in jQuery UI turns it into the accordion widget.
Also note, the protocol less URLs is designed so you can switch between http:
and https
without having to change your code. Unfortunately, it won't work if you are running your page from the file system (file:
) because it will then try to load the scripts from your local hard drive. Explicitly add http:
at the beginning of the URL if you are running locally.