Questions tagged [html]

HyperText Markup Language (HTML)

Filter by
Sorted by
Tagged with
0 votes
0 answers
21 views

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

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 ...
user avatar
0 votes
1 answer
30 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 ...
user avatar
  • 29
0 votes
2 answers
117 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 ...
user avatar
2 votes
2 answers
40 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: ⮝. It just ...
user avatar
  • 41
0 votes
2 answers
38 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)
user avatar
  • 113
0 votes
0 answers
138 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. ...
user avatar
0 votes
1 answer
28 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 ...
user avatar
0 votes
0 answers
32 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 ...
user avatar
0 votes
0 answers
15 views

How people with low vision learned a web development path if can not see well

right now I am using screen reader to do my daily tasks like surfing web and writing some documents , and I want to know how the person with low vision setup a web development environment what ...
user avatar
2 votes
2 answers
769 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 ...
user avatar
1 vote
1 answer
223 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
user avatar
  • 355
0 votes
0 answers
37 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 ...
user avatar
0 votes
0 answers
93 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 ...
user avatar
  • 190
0 votes
0 answers
83 views

Including image files in signatures using thunderbird

How do I include the image with the html for a signature file with Thunderbird? Here, the html is in an external file. Following generic directions, I saved an e-mail to file for reference. After ...
user avatar
0 votes
0 answers
27 views

Value does not return if #codename using javascript ajax

If I press the Tab key, I want to display the value of the next cell using javascript and ajax. This is my HTML code: <input type="text" name="ccode" id="target" class=...
user avatar
0 votes
0 answers
56 views

How to change public_html user link in ubuntu

The ubuntu default link or url is like this http://example.com/~user I want to change it to something like this http://user.example.com Can it? Please help Sorry for the title of the question if it's ...
user avatar
  • 11
1 vote
0 answers
114 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 ...
user avatar
18 votes
1 answer
9k 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: ...
user avatar
  • 383
0 votes
1 answer
65 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 ...
user avatar
  • 43
0 votes
0 answers
202 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 ...
user avatar
0 votes
0 answers
54 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 $...
user avatar
  • 105
0 votes
0 answers
25 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 ...
user avatar
0 votes
2 answers
209 views

Software to write HTML help files

I am using Ubuntu 20.04. Can anyone recommend software to create HTML help files, preferably free.
user avatar
1 vote
1 answer
72 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 ...
user avatar
  • 21
2 votes
0 answers
232 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 ...
user avatar
0 votes
0 answers
897 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-...
user avatar
1 vote
1 answer
119 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 ...
user avatar
  • 111
0 votes
1 answer
468 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 ...
user avatar
  • 1
0 votes
0 answers
34 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 ...
user avatar
0 votes
0 answers
640 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 ....
user avatar
0 votes
0 answers
868 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 ...
user avatar
  • 1
4 votes
1 answer
13k 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 ...
user avatar
0 votes
1 answer
1k 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 $ ...
user avatar
0 votes
1 answer
309 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 ...
user avatar
1 vote
0 answers
833 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-...
user avatar
0 votes
1 answer
75 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 ...
user avatar
0 votes
2 answers
340 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-...
user avatar
0 votes
1 answer
1k 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
2 votes
1 answer
266 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/...
user avatar
  • 143
1 vote
0 answers
32 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....
user avatar
1 vote
0 answers
5k 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 (...
user avatar
  • 13
6 votes
2 answers
1k 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 ...
user avatar
0 votes
1 answer
1k 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?
user avatar
  • 3
0 votes
0 answers
225 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 ...
user avatar
2 votes
1 answer
3k 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-...
user avatar
  • 4,343
0 votes
3 answers
4k 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 ...
user avatar
0 votes
1 answer
10k 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 ...
user avatar
54 votes
7 answers
72k views

How do I set up the simplest HTTP local server? [duplicate]

I use the R Studio IDE to do many things, one of which is to serve local websites utilizing the blogdown package which is a fork of hugo. I write the code in R Studio and preview the site utilizing ...
user avatar
  • 1,851
1 vote
1 answer
1k views

How to remove ugly frames when copiyng to Libreoffice from browser?

Sometimes i copy/paste text from browser to LibreOffice, and page formatting|stylings from the browser page spoil the text looking ugly, like this, for example: Sometimes those frames|images|tables ...
user avatar
  • 227
7 votes
1 answer
1k views

VSCode overrides default HTML viewer

I want my default application to open .html files to be Chrome but on Ubuntu 18.04 every time I open vscode it overrides my set default. Not sure how to enable this permanently, does anyone know how ...
user avatar