Web page resource with link to html file in Moodle

Web page resource with link to html file in Moodle

by Pauline McNamara -
Number of replies: 1
Hello,

I have a very simple html file uploaded to Moodle, just a few p's and one ordered list. I've created a web page resource in Moodle and linked to that uploaded file from the web page. The html file that I linked to is not displaying properly: no paragraph or ordered list format, all text just runs together.

It looks like Moodle is adding/substituting some tags to the html file that I uploaded, particularly at the beginning:

<span id="Process_jsMath"></span><html>
<head><link rel="stylesheet" type="text/css" href="https://moodle-app1.net.ethz.ch/lms/theme/standard/styles.php" />
<link rel="stylesheet" type="text/css" href="https://moodle-app1.net.ethz.ch/lms/theme/ethz_neu/styles.php" />
</head>
<body>
and removes the p and ol tags that were in the original file.

Anyone know how I can get a simple html page to display when linked from a Moodle web page resource?

Thanks
Pauline


Average of ratings: -
In reply to Pauline McNamara

Re: Web page resource with link to html file in Moodle

by Pauline McNamara -
Nevermind, this seems to be working now. Go figure...

Cheers,
Pauline