Questions tagged as 'html'

1
answer

Can I render an HTML file inside a React component?

My case is: I have an HTML file that works perfectly, with all its scripts, functions ... My problem is to pass it to a React component. Because of that, is it possible to import this file to the React component, and render it in your view us...
asked by 12.12.2016 / 15:01
1
answer

Problem when using image in game Pong with JavaScript

I'm trying to adapt a code that I found googling for the Pong game. What I try is to replace the ball drawn by an image of a ball in image. Searching the Internet suggest that you use the following code: var img = new Image(200,200); img.src...
asked by 11.12.2016 / 18:58
2
answers

as it redirects into nodejs and jade

File app.js var express = require('express'); var routes = require('./routes/index'); var bodyparser = require("body-parser"); var middleware = require('./routes/middleware') var programmers = require('./routes/programmers'); var programmersMo...
asked by 16.11.2016 / 13:44
1
answer

Table with rowspan = 2 in several columns

I want to make a table with 3 columns. In which some rows occupy multiple rows for the first and second columns but not for the third. This is the code I have for now: <!DOCTYPE html> <html> <head> <style> tab...
asked by 18.11.2016 / 10:30
2
answers

I need to keep a label aligned with the first div that follows

I'm creating a form within a footer and that's how it looks in different resolutions: col-lg-4 : col-md-4 and col-sm-4 : col-xs-12 : As you can see, the label that contains the word "New:" remains aligned with the...
asked by 18.11.2016 / 11:02
1
answer

How to make an automatic code generated with javascript? [closed]

I need a code to appear in a text box generated by javascript that can be seen by the user, this code could be in the form: nota001 and incremented as: nota002 ... nota003 and so on, thanks for your help     
asked by 03.11.2016 / 02:42
1
answer

Google Adsense modified with the same ID [closed]

Is it possible to use the same ad block, that is, the same code generated by the google-adsense application with a single ID , on different pages? The idea is to modify afterwards, the size of the ad block in a common file CSS , w...
asked by 04.11.2016 / 11:36
1
answer

Embed html inside another html page

Hi, I'm doing a web page with php, but I would like to know how I can embed another html page within my page, that is, I have this menu saved in another html <nav class="navbar navbar-default"> <div class="container-fluid">...
asked by 01.02.2017 / 13:30
1
answer

Save in database, radio input created with javascript?

Good in a form created a button that creates radio input with javascript, the question is that I would like to save those radio inputs (alternatives) in my database. <form action="pregunta-quest.php" method="post"> <input type="text"...
asked by 29.01.2017 / 06:33
1
answer

Pass two-dimensional array to PHP by [closed] form

Hi, I have a task in php and my teacher has the philosophy that we are looking for a life, I have this code, but I do not know how to pass it to php so he can pick it up and save it in a > two-dimensional array: I would really appreciate the...
asked by 29.01.2017 / 18:03