254 Answered Questions for the topic HTML

Html

03/16/19

Resize image proportionally with CSS?

Is there a way to resize (scale down) images proportionally using ONLY CSS?I'm doing the JavaScript way, but just trying to see if this is possible with CSS.
Html

03/16/19

Best way to center a <div> on a page vertically and horizontally?

Best way to center a `` element on a page both vertically and horizontally?I know that `margin-left: auto; margin-right: auto;` will center on the horizontal, but what is the best way to do it... more
Html

03/15/19

How to select a radio button by default?

I have some radio buttons and I want one of them to be set as selected by default when the page is loaded. How can I do that?
Html

03/15/19

How to ignore HTML element from tabindex?

Is there any way in HTML to tell the browser not to allow tab indexing on particular elements?On my page though there is a sideshow which is rendered with jQuery, when you tab through that, you get... more
Html

03/15/19

Can we have multiple <tbody> in same <table>?

Can we have multiple `` tags in same ``? If yes then in what scenarios should we use multiple `` tags?
Html

03/15/19

Can you nest html forms?

Is it possible to nest html forms like this so that both forms work? My friend is having problems with this, a part of the `subForm` works, while another part of it does not.
Html

03/15/19

Can an html element have multiple ids?

I understand that an id must be unique within an HTML/XHTML page.My question is, for a given element, can I assign multiple ids to it? I realize I have an easy solution with simply using a... more
Html

03/15/19

CSS strikethrough different color from text?

The HTML elements `del`, `strike`, or `s` may all be used for a text strike-through effect. Examples: del....gives: del strike and strike....gives: strike and strikeThe CSS `text-decoration`... more
Html

03/14/19

What is the difference between HTML tags <div> and <span>?

I would like to ask for some simple examples showing the uses of `` and ``. I've seen them both used to mark a section of a page with an `id` or `class`, but I'm interested in knowing if there are... more
Html

03/14/19

In JavaScript can I make a "click" event fire programmatically for a file input element?

I'd like to make a click event fire on an `` tag programmatically.Just calling click() doesn't seem to do anything or at least it doesn't pop up a file selection dialog.I've been experimenting with... more
Html

03/14/19

How do I wrap text in a pre tag?

`pre` tags are super-useful for code blocks in HTML and for debugging output while writing scripts, but how do I make the text word-wrap instead of printing out one long line?
Html

03/14/19

How to Vertical align elements in a div?

I have a div with two images and an `h1`. All of them need to be vertically aligned within the div, next to each other.One of the images needs to be `absolute` positioned within the div.What is the... more
Html

03/14/19

How to assign multiple classes to an HTML container?

Is it possible to assign multiple classes to a single `HTML` container?Something like:
Html

03/14/19

href="tel:" and mobile numbers?

If I use `tel:` I should write the international phone code, like that. 61709So far, so good, but I can't find information on how to write a cell phone number in an "international" way, if there... more
Html

03/14/19

Adjust width and height of iframe to fit with content in it?

I need a solution for **auto-adjusting** the `width` and `height` of an `iframe` to barely fit its content. The point is that the width and height can be changed after the `iframe` has been loaded.... more
Html

03/14/19

Need an unordered list without any bullets?

I have created an unordered list. I feel the bullets in the unordered list are bothersome, so I want to remove them. Is it possible to have a list without bullets?
Html Web Design

03/13/19

What is the default display of a <p> element in HTML?

Source code editor for HTML/CSS/JS with projects support?

I am looking for a source code editor with the support for: - Javascript, HTML, CSS syntax highlighting - Auto-completion, Source formatting (for the above languages) - 'Projects' where you can... more

03/13/19

What does a responsive website mean?

Html Python

03/03/19

How to call python from python + html code?

Friends, I have a python program which runs html program to create box as follows which runs on wamp server:**box.py:** #!C:/python27/python.exe -uprint "Content-type: text/html... more

What is Meta Charset In HTML?? And What Does it Do?

Im A beginner, Learning web development, and just wanna ask what does The Meta tag Do?

11/09/18

Hi am new to javascript and would like to know what I did wrong

var User = prompt('Pick Temp Username');//Page always shows the Null message even if the user put something in the boxif (User =! null){document.write('User didnt put username');}else... more
Html

10/14/16

search box

i have a search box in my local website my website is not yet online and am new in programming and i cant use my search box like youtube or tottentz search box.What should i learn for a search box... more
Html Cisco

04/20/16

what is the relation of cisco and HTML?

My teacher ask me about it and made it as an assignment but I don't.

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.