show html tags in html content, show html code snippet in html
I was wondering if there is a way I could apply htmlentities() to var x so that if I put <p>hello</p> into the text area and press the button it would display <p>hello</p>...
View ArticleWhy is server ignoring changes in the code files even though cache is disabled?
I test an html/js code on my localhost (Windows 7, Chrome) and about 50% of the time code changes are not reflected in the browser (I see it with Dev Tools/Sources). There are a ton of advice on the...
View Articlehow to make div in bottom inside the main div? [duplicate]
how to make div with class boxLinks = bottom in the main box = class = main-box?my idea this class main width 1200px; this class main-box are 5 div, every div width 25% .main-box { width= "25%"; float=...
View ArticleHow to have a JS function open a new HTML page and then run?
In a multiple-page app I'm building (coding student project), I have a requirement where a click on one HTML page is supposed to:take an input from that click, open a different HTML page, use the click...
View ArticleHow to make image left and span right on ?
I want to make an image left and a <span class="badge badge-primary">v 2.1</span> on right,all these items are on <center>.code:<center><div class="card" style="margin-top:...
View ArticleAdd a Google Sheet list of values to the materialize autocomplete function
I'm trying to create a simple web app that add countries to a google sheet. And use materialize autocompletes to assist the user (which simply autocomplete the country, with no images attached). I saw...
View Articlehow remove excess white space from a web in device mode
This image shows how when you open from a device that space is created:I have a web page with html and it works well viewed from a PC but when it is opened from a smartphone an empty white space is...
View ArticleWhy is my not appearing in PHP using include function? [duplicate]
I have been using this index.php format:<?php //this is to include the header require 'includes/header.php'; //this is to include the content menu include 'includes/content.php'; ?> <?php...
View ArticlePython script - Web Scraping
I'm doing a script that get's some data from a URL (http://www.pmo.cz/portal/nadrze/cz/mereni_1_mes.htm). All i need is to get the data (And the date + time) from this chart: ChartThe problem is I...
View ArticleIs there any ASCII character for ?
Typically we all using HTML numbers or names in web pages. For example, & is & or &, and $, @, ©, ®, etc.Is there an HTML number or name for <br>?.
View ArticleOn click the page isn't loading more content
I'm playing with web development and I can't seem to get my load button to work. I was able to hide the elements; however, I was unable to show them when the load button is pressedHTML:<div...
View ArticleJavascript onclick not navigating between pages
I have one html file index.html and two html templates that presentation.html and lookup.html.I have my onClicks setup as such in index.html:<div class="sidenav"> <h4...
View ArticleAdd a ? and another string to all outbound links
In this code, I'm modifying all outgoing links. I've added "?" successfully. I also want to add a dynamic string which I'm fetching from a URL but have failed. Here's my...
View ArticlePlace holder frame [closed]
I have no idea on coding, and hopeful some one out here can help.I'm developing website on Wix. The requirement is to develop a kind of a placeholder frame to which I can drag and drop elements....
View ArticleText ellipsis not working with RTL direction?
I'm trying to show some text, with a maximum height (of the text box) of 4 lines, if the text is longer I want to show three dots (...). To achieve this effect this is the code I'm using:.txt{...
View ArticleHow to access function inside a javascript fetch from html page
i am trying to make a website showing a graph based on some user uploaded json files. I am using a fetch to get the JSON data from a servlet and i make the graph inside the fetch, this works fine. Only...
View ArticleHow to set a DIV visible onload with javascript
I have this page I want to make the first card description to show onload. The divid is "firstitem" and I can't work out the javascript to show the (sub)content onload.(function (global, factory) { if...
View ArticleHow do you include a Font Awesome icon and text in an input placeholder?...
I'm making a text input and I'm trying to use a Font Awesome icon and text as a placeholder. The issue is that when I set font-family: "Font Awesome 5 Free", the icon and text does show but the text is...
View ArticleDisplaying only the last version of an array
I want to display some data i'm getting from the database and I'm displaying them in an html text field, as such: for(var i= 0; i < array.length; i++) { document.getElementById("f1").innerHTML +=...
View ArticleHow do you modify the following script to make the ninth word bold?
var toBold = document.getElementsByClassName('bold-second-word'); for (var i=0; i<toBold.length; ++i) { boldsecondWord(toBold[i]); } function boldsecondWord(elem) { elem.innerHTML =...
View Article