Science topic

HTML - Science topic

Explore the latest questions and answers in HTML, and find HTML experts.
Questions related to HTML
  • asked a question related to HTML
Question
2 answers
The blue rectangles are meant to be pictures and the words above them are meant to be the texts above the pictures.
Please give me the code in order to do this action.
Relevant answer
Answer
Hi,
You must use an array and insert your text in the first row and your picture in the next row. This is the easyest way to define your structure. After, to implement your bootstrap library you should insert the targeted classname in your array's class.
Of course this solution is not complete you must define your CSS, especially with bootstrap option, on your page to custom its display..
Example of code without bootstrap :
<html>
<head>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
</head>
<table class="bootstrapclass">
<tr><td>"TEXT1"</td><td>"TEXT2"</td><td>"TEXT3"</td></tr>
<tr><td><img src="file/path/pict1"></td><td><img src="file/path/pict2"></td><td><img src="file/path/pict3"></td></tr>
</table>
</html>
I hope this will be useful for you.
  • asked a question related to HTML
Question
8 answers
Hello,
Recently I am trying to scrape yahoo finance financial tables for my Ph.D. study. I am using R and rvest package but te I realized I cannot scrape all the data on the tables, because of the "expand all" and "collapse all" buttons. Then I found out it is possible to click those buttons with RSelenium.
The button is indicated as "<div class="expandPf Fz(s)...."
my code is;
```
webElem <- remDr$findElement(using = "class", ".expandPf")
```
but I am getting error. I tried to it with "CSS" as well but same error message.
Does anyone know how to fix it?
  • asked a question related to HTML
Question
5 answers
dear community, in order to describe a website architecture design (pages , order of pages, titles,..) I tried to apply web scraping , but till now I can't find a tutorial on how to get this type of data as mentioned below .
Relevant answer
Answer
  • asked a question related to HTML
Question
56 answers
Now I want to implement Balloon Analogue Risk Task(BART) in Qualtrics, one way is adding Javascript or HTML in Qualtrics to realize the task. Does anyone know how to programming in Qualtrics? I have found some cods previous researchers have done for BART using Javascript, but not in Qualtrics environment.
Relevant answer
Answer
There is a simple solution. Convert the arrays into String variables. This solution was created with the help of Morgan Taylor.
Search the Javascript code for the following lines:
$('#message').html(msg_end1+total+msg_end2).show();
$('#outcomes').show();
$('#NextButton').show();
Replace the code following the three lines above with:
var Holder1 = number_pumps.toString();
var Holder2 = exploded.toString();
Qualtrics.SurveyEngine.setEmbeddedData('number_pumps', Holder1);
Qualtrics.SurveyEngine.setEmbeddedData('exploded', Holder2);
Qualtrics.SurveyEngine.setEmbeddedData('total_win',total);
  • asked a question related to HTML
Question
2 answers
I wonder whether someone ever tried to reconvert relative proportions in KRONA charts back to absolute values. I guess instead of computing percentages one must just instead add values upon the different levels. var percentage = getPercentage(child.magnitude / this.magnitude);
Would you tweak the ktImport script or the resulting HTML file directly?
Thanks for your replies!
Relevant answer
Answer
Excuse me, how does that answer the question?
  • asked a question related to HTML
Question
2 answers
We have an experiment coded in HTML/JavaScript, for which we would like to add EEG triggers via a parallel port.
After quite some Google searching, I am impressed how complicated it seems to set parallel port pins via JavaScript.
Therefore my question: Is there an easy solution you could recommened?
We are using a Windows 10, 64 bit system.
I tried to install the node package "parport" via npm but with no luck (fails with error "ERR! code ELIFECYCLE"), which I couldn't resolve.
I am also open to options using PHP or HTML, if there are any.
Any help or pointers are very welcome and highly appreciated.
Thanks,
Nico
Relevant answer
Answer
Not clear your exact requirement.
I think you are trying to create a web app to manipulate EEG data?
hope you can do use a simple php web service for that.
if you trying to render your data. you can use react js (with charts)
  • asked a question related to HTML
Question
16 answers
Our website uses HTML formatting so if there would be some sort of plugin to convert *.ris citations into a list of publications, that would be a lot of help. In the past we entered the publications one by one, but this can't be the most effective way.
Relevant answer
Answer
The CV export function is removed from RG. I hope that they will provide us an alernative
  • asked a question related to HTML
Question
3 answers
Hi all, I have developed an image map with specific coordinates in HTML which is working properly on laptop device, but its not mobile compatible. How to make it according to mobile responsive template?
Thanks
Relevant answer
Answer
Hi, thanks for your quick response. Can you just tell me any software or tool that allows me to do the same as you suggested.
  • asked a question related to HTML
Question
7 answers
How to extract website content of HTML pages ?
  • asked a question related to HTML
Question
11 answers
I need to convert some old student laboratory manual from archaic latex to some structured format like html or epub. From some research into the Web I found that the most advanced tool for that is tex4ht which is by default included in the MikTeX distribution. After some effort (quite a lot in fact) I managed to find a way to run it on my tex file and was relatively satisfied with the result. 
Still, the tex4ht is presented as a highly configurable system, but I still can not find any reasonably complete documentation on its configuration. I am coming to a conclusion that there is no complete documentation at all for its features. Does anybody know where to find some help on this matter?
In fact I need to configure following things:
1) Since i am converting formulas to .gif images, I've got quite a lot of them (in the same directory as my tex source and html result). I would like to redirect them to some subdirectory.
2) My source encoding is (sadly) cp1251, and it would be good to have result in unicode, not in iso-8859-5 with a lot of &#x....-s in the page.
3) I understand that tex4ht supports sectioning, index and separate htmls for sections, bu I did not found how to configure this feature.
4) While the gif-s for my formulas are fine in the resulting html, the pictures in the tex are also transformed to gif with some obscure names (which I normally do not need) and are blank (white boxes). I would like to configure the pictures separately form formulas
Does anybody have suggestions on any of these topics?
Relevant answer
  • asked a question related to HTML
Question
10 answers
SQL
Javascript
HTML
Relevant answer
  • asked a question related to HTML
Question
9 answers
Semantic web employs RDF, Ontology for storing structured data in contrast to HTML which does not have any structure. The data on the web is purely in HTML format. Further, there is no standardization. How to convert HTML data into standardized RDF format or ontology for integrating data from different existing resources?
Relevant answer
Answer
@Ivan: There is more on this earth (or better said web) than just Google ;-)
Of course, Google makes visual use of its knowledge graph, but I wouldn't call it "semantic web", since it does not follow the principles of the semantic web, i.e. to use (defacto) standards and URIs. You can easily inspect the box you mentioned and what you see there appears to be proprietary. Thus, in order to make this content machine-processable you have to understand it and hack your own interpreter.
However, sites which make use of the semantic web, often do it under the hood without any visual hint for human users. Inspect for example the source code of the pages:
Hence, the semantic web is actually imperceptible and that's probably the problem, why it has difficulties to be adopted more broadly: Its use is not directly visible. Therefore I found the statistic about the use of RDF and microdata, I mentioned above, very helpful.
Of course you are right, transforming HTML into RDF/microformats isn't the problem, the problem is - as you pointed out - understanding the content. But I am pretty sure, that sites which use the semantic web under the hood today, do not interpret their content. With high probability they have integrated the semantic web markup already into their CMS or HTML generation algorithms.
I would be happy to receive any confirmation about my last assumption.
  • asked a question related to HTML
Question
5 answers
Given a URL of a web page how to extract required information from the page?
Relevant answer
Answer
I would recommend python3 with a number of libraries.
The data can be accessed in a structured manner through these libraries and you will be able to extract all the data you might need.
  • asked a question related to HTML
Question
10 answers
We are preparing for our final year project and have to submit our proposal in few days. We have prior knowledge of html (with basic css and javascript), and also very well familiar with C and C++ using object oriented programming. We are now learning C#.
Having said all that the main point is that our supervisor recommended us to make a web based application with PHP at back end and HTML and JS as a front end.
What ideas would you give me work on? What nature it should have? Its domain or anything else.
Relevant answer
Answer
As you know there are a huge range of applications. I would recommend you to search in your network for relatives, someone, some company or some no profit organization that needs some application to solve any need of their business.
Companies that use EXEL worksheets; and even have all your business supported by this application are excellent candidates to be your "client" in the project.
This approach will facilitate your elicitation of the requirements because you will take advantage of the customer's business knowledge (application domain).
Be careful only with the size of the project. Thus, you will not frustrate the customer or make project completion in the available course's dead end. Value for customer relationship, also.
Please, let me know the answer help you and your work anyway.
Good Luck! Enjoy the work!
  • asked a question related to HTML
Question
2 answers
I have this personal page: https://uerez.academia.edu/research#papers
I want to "send" the readers to it/
How do I do it?
Relevant answer
Answer
You can print the webpage to PDF format. The second option is to save page to (single) MHTML file. The third option is to archive page to ZIP, RAR, TAR.GZ etc.
  • asked a question related to HTML
Question
2 answers
is nested frame and iframe is same in writing with HTML. I want to test it in selenium. Pl help.
Relevant answer
Answer
Here is a bit helpful content for your problem. In the article its been discussed how to access the contents of a nested iframe in javascript and you may see the way its been accessed to modify this so that it may work for selenium (Web Driver).
  • asked a question related to HTML
Question
3 answers
I have one Servlet running on top of GlassFish server. I have one main Java application which send data (eg. string ,int..) to this Servlet. This Servlet receives data and returns back to java application.
My question is, if i want to get that data to JSP or HTML , what I have to do ??
Does Servlet holds data for a while so that we get time to retrieve that data from Servlet to JSP/HTML??
The broadview is, I want to send that data from java application to JSP/HTML immediately either through Servlet or other ways.
Hoping for answer.I really appreciate for the help. Thank you.
Relevant answer
Answer
To store data you have to use request or session objects to hold the data. For more help go to oracle docs or javatpoint. 
  • asked a question related to HTML
Question
2 answers
I have an AADL model now i want to transform it into Acceleo in order to generated code in terms of HTML pages showing information of the AADL model, can any body help me in doing this.
Relevant answer
Answer
Hi! If your AADL model is compatible with the EMF (if your model uses a language derived from Ecore), you can use it directly in the Acceleo modules. If not, you need to transform it somehow to a EMF-compatible version.
I've never worked with AADL and I have no idea if you produced this model using Eclipse.
If AADL is not an obligation, I know that in Papyrus you can specify models in UML, SysML or MARTE.
I did a fast search in google and found the Osate 2 initiative that relies on EMF to support AADL v2. You can find more details through this link:
HTH and good luck!
  • asked a question related to HTML
Question
5 answers
We are looking for a letter 2-back task, ideally in html5, to use in a research study. If there is one already available it would save us having to get it programmed up. We want to run the study on Amazon MTurk so we can't use anything that requires participants to download a plug in or software (e.g. Inquisit).
Any suggestions would be greatly appreciated!
Thank you,
Nina
Relevant answer
Answer
There is an nBack task in HTML5 on Github here: https://github.com/dino001/nback
It's currently setup for the standard spatial/auditory dual task, but you should be able to edit the auditory letter task to a visual letter task fairly easily.
  • asked a question related to HTML
Question
2 answers
I have created a .jar file using jalview web application, I want to save it in HTML file for further analysis and discussion.
Is it possible to convert .jar file in html?
Relevant answer
Answer
@Ariharan
java2html converts .java or .class files to html
-----
@Parameswaran
.jar is a binary file and its very tough and conmplex way to extract data from binary.
this site can help you with jar decompilation into .java or .class files
then they can be converted to html with java2html
  • asked a question related to HTML
Question
7 answers
Hello, everyone
I am interesting the Content Extraction from HTML web pages. Now I use the HTML tags for dividing the block of web page and use the tag-to-text ratio and anchor-text-to-text ratio and title density to extract main content. But all of HTML tags don't appropriate where content extraction. SO I want to know what tags are more accurate and more suitable for web page' cleaning? Thank You all...
Relevant answer
Answer
try visual ping
you can visually select what you want to extract
  • asked a question related to HTML
Question
5 answers
I need your urgent help to fix this problem in web design, please.
I need to open an image with a new separate window larger than the original using JavaScript only and only without JQuery Just Html and JavaScript.
Relevant answer
Answer
new_span.append('<a id="imglink" href="'+ new.link +'" target="_blank"><img src="' + new.url +'" height="" width="" /></a>');
$('#imglink').click(function() {
window.location = $.myURL("index", $(this).attr("href"));
})
  • asked a question related to HTML
Question
6 answers
I have 120GB News data in Page Maker format collected from news agencies. I need to convert this into html file. Can I convert this file into html? Is there any tool that I can convert this page maker data to html automatically?
Relevant answer
Answer
To export to HTML,
Use ADOBE PAGEMAKER 5.0-7.0 if not available then try for find out any open source 
like PageMaker to HTML (pm2html) system 
for adobe : 
1) Click File
2) Click Export
3) Click HTML. There will be a heading called HTML document title. Under that will be the words Untitled1.
4) Click on Untitled1. Untitled 1 will be highlighted. Leave the cursor there.
5) Click on Document.
6) Put in a name. If there is images, click the box that says Save images in this folder.
7) Click OK.
8) Click Options. For pictures, they must be all GIF or JPEG. Now, click the button that says All to GIF, all to JPEG, or PageMaker chooses.
9) Click OK.
10) Click the box that says Export HTML.
  • asked a question related to HTML
Question
10 answers
Sometimes, there are many rules for implementing a specific code of HTML. However, cascading decides which code should be implemented. Now my question is, how does cascading actually work here?
The Inherit method is considered very strong in this regard.
So,
1st.. it'll follow inline or Inherit from parents
2nd.. In page (Internal CSS) or Import
3rd.. External CSS
will it take the same sequence to follow?
Relevant answer
Answer
CSS is full of "gotchas", particularly how things cascade. The official specification regarding cascades and inheritance is here:
Some things to be aware of are:
1). Inheritance in CSS is property specific. For example, the "color" property is inherited by default, whereas the "border" property is not. Either learn these by trial and error or look up the default inheritance for each property. See:
2). How a property is applied can be modified by the keywords: "inherit", "initial" and "unset". Try to avoid these where possible as they usually end up costing more time than they save. See:
3). Where two properties end up competing for the same node in the DOM, precedence is assigned based on the specificity of the selector. For example, p.name {} is more specific than p {} so p.name {} will override p {}. See: 
4). Where two properties end up competing for the same node in the DOM and there is no difference in selector specificity, the winner is determined by the order of reading by the browser. The official spec calls for imported stylesheets to be read first (in the order imported), then <style> tags in document order, then inline styles. See:
5). Use of the "!important" qualifier causes all competing properties to be overridden (even inline styles). For a CSS beginner, it can be very tempting to use "!important" out of frustration. By all means use it when trying things out, but don't leave it in your final product. See:
6): Be aware of "all:" being used with inheritance modifiers. Eg, "all:initial;". Again, this is one of those things that people tend to use out of frustration but often causes more trouble downstream. Best to track down what's actually going wrong and build a clean stylesheet rather than rely on overrides. See:
Finally, I strongly recommend debugging CSS with something like Firefox Developer Edition. See:
Open up the inspector and modify styles on the fly to see what happens. It will also show you exactly how styles are cascading and where overrides are coming from. This is the best way to learn while keeping MDN in the background for when you really get stuck.
Then when you encounter the worst part of CSS (the part I haven't even mentioned yet), which is cross-browser compatibility, consider throwing it all in the bin and making the move to Sass or LESS ;-) These frameworks take care of all the nonsense for you, regarding cross-browser consistency, while also providing some neat syntactic sugar.
  • asked a question related to HTML
Question
6 answers
I have new task to prepare CHM for an API I'm working with. I need some suggestions and helpful articles regarding CHM. Thanks
Relevant answer
Answer
  • asked a question related to HTML
Question
3 answers
I have the network model for my PhD research for specific organisms. Now I would like to prepare the network model browser like facility amongst this network model.
Please suggest the procedure to display this SBML/XML file as web browser on my website.
Relevant answer
Answer
I'm not sure if I understand, but I've got a hunch that you might be after something like CellPublisher...
  • asked a question related to HTML
Question
10 answers
Usually metadata in the form of RDF triples are stored within databases, called triplestores. However, in order to expose them through a web page in the RDFa format, you need a way to dynamically query the RDF database and the results should be returned as RDFa annotations inside HTML code. I could not locate tools / frameworks that ease such a task. Should this be done programmatically through PHP, ASP, etc.? Or is there an easier way?
Relevant answer
Answer
Hi Nick,
i know a Apache Project called Stanbol that can enhance Plaintext based on so called enhancer chains with RDF Data.