html

What is this syntax inside html [[${...}]]?

Sorry for the strange wording of the question, I just don't know how to describe it. I have a Java Spring project using Sprin ... displays not an empty line, but some specific one, for example, "Sign in". That is, I need something like if-else in html.

Strikethrough text when clicked?

I have a website consisting of several pages (the header has a navbar that allows you to switch between pages). Let's say I ... 't work. For some reason, everything is crossed out at all: Can you help me, please? I a beginner, js has not studied yet.

How to set an iframe src using javascript

There is an Iframe <iframe src="" name="iframe1" id='iframe1'> </iframe> How can I use java script to set src to ... getElementById('iframe1').contentWindow="1.html"; } - <div onClick="IFrame1()" class='Menu3'> 1 страница </div>

Create an online store without a CMS

Good evening, comrades. The essence of the problem is as follows - you need to create a website, something like an online sto ... s or sites where this material is quite well chewed. Thank you in advance and apologize for the possibly incorrect question.

Wysiwyg javascript editor

Good evening I'm writing a small blog engine And I need to make a simple Wysiwyg editor I don't want to use ready-made engine ... ross-browser manual? As an example, you need something like this locanic http://imperavi.com/redactor/ noo paid and on jquery

The HTML lable inside the div returns a validation error

I know that you can't insert block elements inside lable, such as div, but why if, on the contrary: <div><lable>& ... as child of element div in this context. (Suppressing further errors from this subtree.) Validator: https://validator.w3.org

Simple Calculator

Why doesn't the calculator work ? "use strict"; function CalcNumbers(result){ document.getElementById("input").i ... </div> </div> </div> <script src="calc.js"> </script> </body> </html>

How to undo the properties of a pseudo-class:active for the dropdown element?

<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport ... Question: And how to make the element drop out only when you hover over it, i.e. that the pseudo-class: active does not work?

bootstrap: how to "emulate" clicking on a bootstrap button from javascript?

Gentlemen, I once again ask a not very smart question. But I searched, and did not find any clear solution. I have an exampl ... () { // вот здесь я хотел бы показать модальный диалог программно } </script> </body> </html>

Drop-down menu in Bootstrap

Please tell me how in Twitter Bootstrap to make the drop-down menu drop down not when you click, but when you hover over the items? Must be done for the element dropdowns.

Transferring data to a modal window from Bootstrap

Help with the implementation of data transfer to the modal window. There is a template container that dynamically receives da ... contents of the container and the modal window. Help me correctly implement data transfer. P.S. I write in pure JavaScript.

Font and font family. How to understand where what is?

I understand that the font family (aka typeface) contains fonts. But how it all works in practice is unclear to me. For examp ... any different fonts, options for how Times New Roman is displayed. Or are these all variants of Times New Roman font styles?

Bootstrap: col-sm height

There are three col-sm columns, and they have a background color. But the background is filled in only if the col-sm is fille ... r;"> <p class="text-center" style="padding-top:10px;">Все клиенты</p> </div> </div>

How do I calculate the sum of cells in a table?

There is a code like this: var html = '<tr><td><input type="text" name="name"></td><td><in ... "cost" cells sum up and display in the "sum" input? I tried several options found on the network - I did not come to success(

Vertical alignment of menu links to css

I'm trying to figure out how to create a menu in css. There is a sort of standard horizontal menu, with a drop-down menu from ... son in the center of the menu item, and not under it (aligned with all the menu items). In the result is generally confused.

Apply text to an image WITHOUT stretching the image to 100% of the screen

You need to overlay the text on the image, and the first link in Google gives this: .container { position: relative; ... f the parent object. This is not always convenient. How do I make it work with the original image size without stretching it?

Styling a specific ScrollBar

Is it possible to style a ScrollBar for a specific element? For example, I open a modal window on the site and make it scroll differently from the one that scrolls the page itself.

CSS. Elements by class except the last one

Tell me why bobik:not(:last-of-type) 'doesn't work' when there is a div without a class after the div with the bobik class. I ... e){ background: #9ED3E9; font-weight: bold; } And also on the fiddle there is a code Https://jsfiddle.net/L580hefa/1/

Aligns the text in the table to the top edge.

Hello! In the table <table> I have two columns with text, the right column has 5 paragraphs, the left only one. When ... e text to the top edge of the cell? Align= "top" for the paragraph and for <td>-the cells don't work for some reason.

:after: before selectors, not working

Http://jsfiddle.net/qg9Rj/ #button-cart:before { background-color: black; content:" "; height: 37px; ... "button" value="ПОЛОЖИТЬ В КОРЗИНУ" id="button-cart" class="button"> Why aren't black blocks shown in the corners?