0

I'm trying to load text files hosted by w3 schools and github.

w3.org text file works fine, however github hosted text file does not get displayed on final html output. How do I fix this? I'm completely new to html.

<!DOCTYPE html>
<html lang="en">
    <body>
        <h1>No. 1 - hosted by w3 schools (works) </h1>
        <object type="text/plain" data="https://www.w3.org/TR/PNG/iso_8859-1.txt"></object>
        
        <h1>No. 1 - hosted by a private site (same text file. but does not work)</h1>
        <object type="text/plain" data="https://ani.stat.fsu.edu/~sr20fe/junk_delete/about-us-dummy.txt"></object>

        <h1>No. 2 - hosted by github (does not work)</h1>
        <object type="text/plain" data="https://raw.githubusercontent.com/ProjectSakura/OTA/10/changelog/changelog_beryllium.txt"></object>
        
    </body>    
</html>```

Ashrith Reddy
  • 962
  • 1
  • 9
  • 26

0 Answers0