Questions tagged [html]

HyperText Markup Language (HTML)

Filter by
Sorted by
Tagged with
2 votes
1 answer
569 views

Accessing html files from / (root) location with Firefox on Ubuntu 22.04

I have some .htm files which are stored in the root / directory and I would like to know how to access them in Firefox. Interestingly enough, I found a solution here: Firefox Quantum : HTML files from ...
Hymcode's user avatar
  • 21
0 votes
0 answers
170 views

Browsers don't load all components from LinkedIn page

I have persistent USB live Ubuntu. I've found that wherever browser i use some linkedin components are missing, most precisely - filter element which allows you to filter job offers, specify when ...
maru krzysz's user avatar
0 votes
1 answer
221 views

How to select/copy/move an HTML file together with its corresponding folder?

On Windows this is working by default, because the files are associated. Situation is: saving a webpage usually creates two files/folders: An abc.html file with the webpage's main HTML file A folder ...
zx485's user avatar
  • 2,406
0 votes
1 answer
72 views

Can someone help me make my videos load

I'm using Ubuntu 22.10 I'm hosting a local website with Apache2 located in the /var/www/html folder. Within my html I'm sourcing videos that live on /media/dale/Movies - this is an external drive - (...
Dale Ernst's user avatar
0 votes
0 answers
273 views

How to replace URLs from html to a file using grep, sed or any common tools?

I'm trying to replace URLs of my conf file from a HTML file because sometimes the URLs get updated/changed. I need a simple script that can fetch the HTML & update/replace the URLs in my conf file....
OrigamiOfficial's user avatar
1 vote
1 answer
67 views

Firefox inconsistent in Ubuntu

My goal: Run Apache on Ubuntu. Use it to debug web sites before I put the HTML on shared hosting. I hope: Every time Firefox runs, it will render a web site the same. I get: Firefox doesn't reliably ...
BaldEagle's user avatar
  • 113
1 vote
0 answers
2k views

Using etree, how can I get all text of an element and its child elements with their tags in an HTML file?

I'm trying to get text data from HTML files and reformat them according to their tags. The HTML file looks like this: <!doctype html> (some HTML code) <section id="descrption"> ...
user282432's user avatar
0 votes
1 answer
482 views

How do I start with PHP apache setup for testing my PHP/HTML files? [duplicate]

I haven’t coded PHP in 15 years, and I can't remember how to get started. I set up PHP 8.1 with apache2 on my Ubuntu 22.04 desktop, but I don’t recall how/where to set up my files and how to test them ...
Carl Ray Jr's user avatar
0 votes
1 answer
78 views

Are there any good command line tools for web browsing non development purposes?

After doing about a day of research, and finding that this article seems to have the most up to date information, I am coming to the unfortunate conclusion that what I seek may not be possible. Drowsh ...
Jake's user avatar
  • 29
0 votes
2 answers
834 views

Creating an html from the output of awk script

I am performing in an awk script a series of aggregations from a dataset and I get the following. Now I would like to create an html that collects this previous output in the form of a table and that ...
oshiono's user avatar
2 votes
2 answers
550 views

Web browsers not displaying html entities

I have just installed Ubuntu 22.04 LTS and everything has worked without problem apart from this. Chrome and Firefox are not displaying some html entities, this one for example: &#11165;. It just ...
Ulises's user avatar
  • 41
0 votes
2 answers
165 views

Reset hyperlink to 'new' from 'active'

I don't know what I've done, but hyperlinks color has changed from blue to black. How can I undo this? This is LibreOffice 7.3.2.2 30(Build:2)
Erwann's user avatar
  • 125
1 vote
0 answers
1k views

error when using wkhtmltopdf

Hi: I've been trying to convert an html file on the web to a pdf and I've installed wkhtmltopdf based on the other links I found on askubuntu. I did the steps below but it results in the error shown. ...
mark leeds's user avatar
0 votes
1 answer
135 views

Why does pandoc not generate a table of content in a LXC container?

I have a problem with pandoc not generating a table of content correclty. Here is my workflow: I create a Markdown file with the content of a web page. I version my project with Git. I git push to my ...
SteeveDroz's user avatar
0 votes
0 answers
71 views

Burning Subtitle Track in Handbrake for HTML Player

When I burn a subtitle track into a video using handbrake and upload it to my server, the html player doesn't show the subtitles, but when I play the video locally, they show just fine. I never had ...
Steve Zee's user avatar
2 votes
2 answers
5k views

Issue opening HTML code via browser using Visual Studio Code

I'm using Ubuntu with WSL. Inside Ubuntu, I have: Created a directory for my code and cd'd to it Executed code . to begin working on an HTML project in VSCode However, when I put the code inside the ...
jumpman23's user avatar
2 votes
1 answer
2k views

How to print HTML file from command-line in Ubuntu

How to print HTML file from command line in Ubuntu when I run the below command it only prints the content of the HTML file, not the rendered content. lp template.html -d TVS_MSP-250CH-custom
kumar's user avatar
  • 455
0 votes
0 answers
198 views

Apache2 only detects index.html instead of all files

I wanted to self-host a website and I cant find solution to this anywhere. So, I have website files in /var/www/html but when I connect it only detects index.html I tried to manually enter directory ...
Cnnn666's user avatar
0 votes
0 answers
275 views

How to enable web browser to open ~/Desktop/htdocs/index.html

My web browsers can't open ~/Desktop/htdocs/index.html (located on the desktop). I tried right clicking on .html that is outside the htdocs folder (I usually successfully use 'Open with' in my old ...
A.G.'s user avatar
  • 310
1 vote
0 answers
222 views

Geany compilation error

What is this error about: /bin/sh 1: tidy: not found when I compile the HTML file this error shows up in the compiler window. Html file works, but I'm afraid that this may create problem, so please ...
Maqbool ur Rahman's user avatar
24 votes
1 answer
19k views

How can I download an HTML webpage including JavaScript-generated content from the terminal?

On Google Chrome, when we go to the development mode, right-click an HTML element → Copy → Copy element, we can copy the HTML content of a webpage. Below is an example of the procedure I've described: ...
raylight's user avatar
  • 493
0 votes
1 answer
105 views

rsync log file gets corrupted when using nano editor or mail ( postfix ) command

I have a strange situation where I am re-directing the whole output of an rsync command to a file and the file gets corrupted if I open it with nano editor or if I send the output to outlook mail. If ...
AlexP's user avatar
  • 103
0 votes
0 answers
310 views

Escape HTML in bash ( Ubuntu server )

I have already html file ( Form ) that contains HTML Tags , css , Javascript and some of XOR cipher I used a website to escape HTML then I write in bash file: header= ' The HTML code after the ...
Abdalaziz Alharthi's user avatar
0 votes
0 answers
115 views

sed - trouble using a variable which is previously set with another variable

I would like to know why sed does not work when the value is set in var, $thecolor ? (I cannot use an HTML parser for this). The desired result is available without using a variable to set $...
Insideup's user avatar
  • 115
0 votes
0 answers
29 views

Clicking links: cannot open exit

Sometimes, when I click on links it ends up opening Kate with an error message saying that the contents are too long, instead of opening Firefox as expected. This might have been because I set the ...
404 Name Not Found's user avatar
0 votes
2 answers
441 views

Software to write HTML help files

I am using Ubuntu 20.04. Can anyone recommend software to create HTML help files, preferably free.
Steve Chorny's user avatar
1 vote
1 answer
135 views

WYSIWIG Editor that exports plain HTML

I have a need for a WYSIWIG editor that exports plain HTML with no styles, divs, classes, or any such other markup. Basically I want to be able to create simple documents with structure, export to ...
JW98906's user avatar
  • 21
2 votes
0 answers
393 views

What's up with Gedit's HTML highlighting?

I've been learning some HTML code recently, and something weird is up with Gedit's highlighting. Whenever I try to use the <h3> tag, Gedit immediately cancels all the highlighting and the text ...
SyntheticHuman's user avatar
1 vote
0 answers
2k views

Move Apache's /var/www/html to another mount-point/disk?

I've got a vm set up with Apache and mysql and it works so far: but it only has 16gb, just for Ubuntu, Apache and Mysql. But I've also got a data disk: I've done the steps to change the document-...
Grumpy ol' Bear's user avatar
1 vote
1 answer
405 views

LaTex code on Firefox

I am currently attending a Machine Learing course on Coursera. There are video lectures and some reading material. On the webpages of the reading material there are some formulas written in LaTeX, but ...
Onil90's user avatar
  • 111
0 votes
1 answer
736 views

Scrape HTML data using bash?

I have a webpage full of search results (gotten from a customised cURL request), and I want to be able to scrape through the data of the results page and extract the text between the HTML tags using ...
jethr0's user avatar
  • 1
0 votes
0 answers
35 views

On Ubuntu 16.04 web server, second "<?" gives an error

In an Ubuntu 16.04 local LAMP web server, running a '.php' script, the first '<?' is correctly treated but the second '<?' (after a first '?>') gives an error suspecting there is an XML ...
Jordi SV's user avatar
0 votes
0 answers
966 views

Unable to view .txt in html iframe in Firefox

(This may look like a silly question, I am sorry, its too specific but I am unable to find a solution to my problem) While playing with some local html files, I have found that when I try to open a ....
Martin Medro's user avatar
0 votes
0 answers
2k views

How to extract jpg images from html files?

I have a number of html files, all containing an embedded image. I know it is possible to open each html file individually in a web browser and save the image from there. The quantity I have would ...
Pat's user avatar
  • 1
6 votes
1 answer
30k views

How to install HTML (Gecko) support in Wine?

I'm trying to run a game installer which requires me to scroll down a license agreement before being able to continue, it is rendered in HTML using some IE tech so I need wine-gecko I believe.. but ...
01AutoMonkey's user avatar
0 votes
2 answers
4k views

Adding an user to www-data group not working

I am trying to add my user to the www-data group in order to be able to edit the files there without admin rights. This is the command I have used to do that: $ sudo usermod -aG www-data n_user $ ...
Georgi Stoyanov's user avatar
0 votes
1 answer
473 views

Mysql PDO/MySqli Connect From Linux Host

My Database host and my website host are not the same. I have created a few web applications on .NET with a web.config or app.config file where I could easily set a machinekey for the MySQL ...
Gareth Swemmer's user avatar
1 vote
0 answers
941 views

Ubuntu 18.04 Epson ET-3700 Won't Print from Browser

I'm new to Ubuntu/Linux. I have successfully installed an Epson ET-3700 printer using these instructions: https://tutorialforlinux.com/2019/06/19/driver-epson-et-3700-ubuntu-18-04-how-to-download-...
Laura J.'s user avatar
0 votes
1 answer
81 views

index.html can only link to certain pages like google.com [closed]

I edited the default apache2 Debian index page and placed 2 links for testing purposes, but only one link worked. Question: Why can I link to sites like Yahoo and YouTube but the link to my insecure ...
Hubot007's user avatar
0 votes
2 answers
391 views

Can't grep price in downloaded webpage

Using wget I downloaded this webpage: With the command: RobWebsiteAddress="https://www.walmart.ca/en/ip/Dispenser-Set-Tumbler-Organizer-Bathroom-Bin-Holder-Bathroom-Containers-Soap-Set-Accessories-...
WinEunuuchs2Unix's user avatar
0 votes
1 answer
2k views

Convert backup bookmarks (html file) to a folder that contains "URL files" for every bookmark

For a simple example: I have a html file for Google Chrome backup bookmarks: bookmarks.html bookmark.html is a backup that have no folders, only have bookmarks. I want to convert bookmarks.html to ...
user avatar
3 votes
1 answer
408 views

How to open *.htm differently than *.html?

I'm trying to get *.htm files to open in a different application than for *.html (MIME Type text/html), as generally described in GNOME Help > Add a custom MIME type for all users. I've created /usr/...
rphair's user avatar
  • 163
1 vote
0 answers
39 views

Convert mpc playlist to table

I have a block of playlist text from mpd state file with filename stateoyna as below. song_begin: http://radio.virginradio.co.uk/stream Name: Virgin_UK_128 mtime: 0 song_end song_begin: http://46.20....
ali ozturk's user avatar
1 vote
0 answers
6k views

How to run a bash shell script from a html button click?

If I have a simple bash script #!/bin/bash touch ./test.txt that I want to be activated on the push of a button on any simple html page how would I go about this? html looking something like this (...
David 's user avatar
  • 13
8 votes
2 answers
2k views

Firefox Quantum : HTML files from internal storage (/usr) do not open

I use Firefox Quantum 65.0 in Ubuntu 18.10. I recently installed TeXmaker. When I tried to open help files, I got following error from Firefox. File path is: I am able to open the same html file ...
Felix Solomon's user avatar
0 votes
1 answer
2k views

How to get html content of web page from command prompt

I need to get html content of a web page that I need to run from command prompt Is it possible to get open a web page and also to get html content of that web page by running from command prompt?
KTR's user avatar
  • 13
0 votes
0 answers
546 views

basic commands of w3m

I download a HTML file using wget command. I convert it into a text file using w3m. wget -q0- www.example.com w3m -dump index.html I want to use only basic commands like wget, curl, etc. without ...
ChocoLite's user avatar
2 votes
1 answer
4k views

How to install and use pup from golang?

I installed go through snap; now how do I invoke pup? thufir@dur:~/pup$ thufir@dur:~/pup$ go get github.com/ericchiang/pup thufir@dur:~/pup$ thufir@dur:~/pup$ curl "skynet.be/nieuws-sport/weer/mijn-...
Thufir's user avatar
  • 4,551
0 votes
3 answers
6k views

How to make a HTML file on Apache webserver accessible from other devices and locations via a web browser

[I have already installed and set up Apache2; this is not a duplicate question, please see below] I have uploaded a HTML file to the Apache2 localhost web server, using the default :8000 port. I want ...
Ruairí Másún's user avatar
0 votes
1 answer
14k views

How to upload HTML web pages on Apache2 web server

I have created some HTML files which I want to upload to the web. I am currently running the Apache2 server with my IP address. This is what I see in the browser when I enter my IP address: I am able ...
Ruairí Másún's user avatar