Skip to main content

Questions tagged [html]

Questions related to the use of Mathematica for creating or manipulating HTML documents.

34 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5 votes
0 answers
52 views

HTML export: Customize footer

If I export a notebook to HTML, this is inserted at the end of every page: ...
Szabolcs's user avatar
  • 236k
5 votes
0 answers
64 views

How to deploy a simple game as an html page

I have taken the following code from the mister Wizard answer to my old question Programming the fiver game ...
cyrille.piatecki's user avatar
5 votes
0 answers
81 views

Is there a way to use iframes in a notebook?

For me, mathematica online is totally unusable, but the EmbeddedServices would be great to use. I wish that these functions worked in Mathematica, is there any hack anyone can think of to get these ...
user5601's user avatar
  • 3,675
5 votes
0 answers
410 views

Notebook manipulation to "Save as (HTML)"

In a previous question, I said that I wanted to display code as text in "Save as (HTML)". I am closer, but would like to ask the community for a better approach by telling the whole picture. I did my ...
carlosayam's user avatar
  • 2,080
4 votes
0 answers
64 views

Problem with links when using Workbench (Eclipse version) HTML Documentation Build

I am building a package documentation with eclipse workbench. I have used the Mathematica code in the following link Workbench (Eclipse version) HTML Documentation Build HTML issues to fix some ...
F. Aitken's user avatar
  • 111
4 votes
0 answers
279 views

Does Mathematica's front-end notebook provide a way to render html inside it

Jupyter notebook provide a way to render html in its markdown language cells. I know Jupyter is browser based so clearly could be just using the browser's html renderer. But does Mathematica's ...
user13892's user avatar
  • 9,483
4 votes
0 answers
35 views

DirectedEdge character doesn't appear when Save As HTML

The \[DirectedEdge] character doesn't appear when I save a notebook as HTML. Here's the notebook, which saves itself to HTML: Here's the HTML: In the HTML, the <...
ConvexMartian's user avatar
4 votes
0 answers
99 views

Convert Doc Notebook to HTML

Is there any built-in utility to convert a documentation notebook to the type of page that's on the Wolfram website, e.g. the web version of FormFunction from the ...
b3m2a1's user avatar
  • 46.9k
4 votes
0 answers
88 views

Incompatibility between CDF document and reveal.js

I am making some reveal.js-based slides with a CDF document embedded. The minimal example include the files: ...
Ziyuan's user avatar
  • 1,075
4 votes
0 answers
403 views

How to remove scroll bars from embedded CDF

I am using the deploy command to embed a CDF file in an HTML page. I am using the annoying but currently necessary fullscreen:'true' trick to reveal the "Enable ...
abwatson's user avatar
  • 1,919
3 votes
0 answers
62 views

How to insert input into Jupyter notebook using WebExecute

I started web session and opened a Jupyter notebook in it: ...
azerbajdzan's user avatar
  • 19.7k
3 votes
0 answers
55 views

The value of PageWidth doesn't work for saving as HTML?

CellPrint@Cell["Test","Text",PageWidth->300,Background->Red] And I got this snippet of HTML code: ...
HyperGroups's user avatar
  • 8,619
3 votes
0 answers
156 views

Exporting CellFrameLabels to HTML

I have a notebook that has several cells with CellFrameLabels and I'd like to export the notebook to HTML. However, the CellFrameLabels are lost during export. Here's an example of what I'm working ...
David K.'s user avatar
  • 213
2 votes
0 answers
64 views

How to convert the <table> element into Grid

I got the html source code for this element for this page in Wikipedia: ...
yode's user avatar
  • 26.8k
2 votes
0 answers
144 views

Find the best place to overlay text on an image?

I need to put text over a background image to make a nice looking banner. In order to find the best place to put it, I'd like to know the "focus points" of the image (basically the centers ...
user5601's user avatar
  • 3,675
2 votes
0 answers
67 views

What is the best way to produce 3d images of tangles and show them on the web so that they can be rotated by the viewer?

On my html5 website on physics, I would like to add computer graphics of tangles, similar to the following photo, and I would like to allow users to rotate the image of a tangle and thus allow viewing ...
Messages from various people's user avatar
2 votes
0 answers
118 views

How to use EmbedCode with CloudDeploy correctly?

I ran EmbedCode[CloudDeploy[Manipulate[Plot[Sin[x + c], {x, -6, 6}], {c, -1, 1}]]] based on this instruction and obtained the html code for embedding as below:- <...
H42's user avatar
  • 3,479
2 votes
0 answers
184 views

HTML export: How to link back to main page from subpages?

When exporting to HTML, there is an option to create separate pages for closed cell groups. This is done with the "ConvertClosed" -> "LinkedPage" option, or with ...
Szabolcs's user avatar
  • 236k
2 votes
0 answers
128 views

Importing HTML loses the Nested tags relation

...
HyperGroups's user avatar
  • 8,619
2 votes
0 answers
71 views

Problem of importing some special characters in HTML

content of the html file is as follows: <p> 被尊称为&ldquo;高贵的&rdquo; </p> method1: ...
HyperGroups's user avatar
  • 8,619
2 votes
0 answers
116 views

Retrieving a Portion of Webpage Code using URLFetch

The URLFetch command is very useful for pulling the entire html source of a given webpage, however, if one wanted to speed up the process, by only requesting a ...
iwantmyphd's user avatar
1 vote
0 answers
66 views

Importing a local html file fails

Anyone have any idea why this is failing? The file is there. A file in the same (Windows 10) dir called "test.txt" imports exactly as expected. But .HTML files fail without a useful error ...
John Alley's user avatar
1 vote
0 answers
73 views

Mathematica 11 ignores AllowScriptLevelChange when exporting to HTML

It seems that the front end of the version 11 does not respect the AllowScriptLevelChange option when doing HTML export. Consider the following code (call it ...
vsht's user avatar
  • 3,527
1 vote
0 answers
105 views

Two-step web data submission

I am trying to automate the process of downloading data from my univ. webpage. I need to submit the form in the URL below. http://202.88.252.21/CuPbhavan/res_newregentry.php?id=4789 An inspection ...
Dr Krishnakumar Gopalakrishnan's user avatar
1 vote
0 answers
123 views

How can I control the size of exported image in HTML code under certain magnification value?

I've inserted a picture in one cell, however, when I exported the cell as HTML, the size of my image in the html tag was doubled(the image file in HTMLFiles was the same as the original image). I ...
HyperGroups's user avatar
  • 8,619
0 votes
0 answers
67 views

Download html file

I want to download the data found on the following page and I am unable to do so. https://resultados.admision.uni.edu.pe/ep1.html I have already tried all the options I find in Mathematica but I can't ...
Emerson Villafuerte's user avatar
0 votes
0 answers
167 views

How to publish a Mathematica notebook to a journal as supplementary material?

I've done part of a proof via Mathematica. In the appendix of the paper I've linked to this published notebook, since I misunderstood "With any paid subscription plan, all files stored in the ...
Jakob's user avatar
  • 141
0 votes
0 answers
190 views

Embedding a CDF on Web page

I'm using Mathematica 12.x, and I have created a CDF, which I tested using Wolfram Player. I'm trying to make it so that I can have the CDF to be used on a web page. I purchased a non-basic Wolfram ...
Focused Purpose's user avatar
0 votes
0 answers
30 views

How to avoid a textfile getting changed when exported as HTML?

How can I export whatever I like to an HTML file, without Mathematica ensuring that it conforms to any standard? In other words, how can I get Mathematica simply to assign an .html suffix to a string ...
user avatar
0 votes
0 answers
270 views

How can I convert urls to an IE bookmark

I've wrote a program notebook to convert chrome bookmark html to new chrome bookmark html, and it can also be imported into IE favorites. One can test it in your own chrome bookmark html[need do ...
HyperGroups's user avatar
  • 8,619
0 votes
0 answers
474 views

HTTP Status Code 403

I'm working with some scraping and have run into a bit of a problem. The website I am scraping is this: https://seekingalpha.com/symbol/CRM/stocktalks I am essentially trying to scrape the "stock ...
Vic Jongmin Youn's user avatar
0 votes
0 answers
780 views

How to prevent space trimming when importing HTML with ImportString?

I am importing a HTML-formatted string with ImportString[string, "HTML"] to properly parse all HTML-escaped characters like ...
shrx's user avatar
  • 7,817
0 votes
0 answers
154 views

how to export to html using multiple css

I have to convert many notebooks to HTML so I'm trying to create all possible rules so to minimize the manual correction. The html pages need to have multiple css links, something like the following <...
bobknight's user avatar
  • 2,037
0 votes
0 answers
53 views

Possible bug of Exporting as HTMLFragment at Linux

This is the result of Mathematica 10.0.2 of Linux Version. There are two style inside one tag, and this fragment cannot be Imported as XML by Mathematica. This is the result of Mathematica 10.1 of ...
HyperGroups's user avatar
  • 8,619