User formatting for textarea [closed] - html

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
A perfect example is stackoverflow. When a user types a question, the textarea give the user basic formatting options such as bullet points, numbering, italicize, etc. How can I create a similar textarea? I am currently using html, css and php.

You can use javascript (or more effectively jQuery) to create your own textarea with this behaviour, or look at an existing package such as TinyMCE and configure it to meet your requirements (the approach I would suggest): http://www.tinymce.com/

Easiest way would be to use an editor like TinyMCE: http://www.tinymce.com/
There are others as well, but TinyMCE is what I see used most.

Related

Custom made HTML tags [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
Just came across a project that had custom-made tags.
Something like:
<buildings>
<building-1></building-1>
<building-2></building-2>
</buildings>
(This code doesn't do anything; it's an example)
(It's not mine) (https://codepen.io/perbyhring/pen/jpQwav) What is the use of this?
Those custom HTML elements have been introduced some time ago and should make HTML code more readable.
"Those elements provide a way to build own DOM elements but also have some drawbacks as simply defining and using an element called blue-button does not mean that the elements represent a button. Tools such as Web browsers, search engines, or accessibility technology will not automatically treat the resulting element as a button just based on its defined name."
Read more about them in the html standard.

Options for creating styled nested grids/boxes [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I am looking for ideas for ways that I can best create nested boxes as shown in the image below. Ideally I would like to do this in HTML with CSS but I can also leverage a framework like bootstrap or similar for styling.
https://imgur.com/a/bFiyzkV
I would like to also be able to link to other pages as a user clicks on the label within each box for additional details on a separate page.
I have basic HTML/CSS experience.
Thanks,
Bob
This can be achieved using the CSS Grid spec - see nested example:
https://gridbyexample.com/examples/example21/
Or using flexbox (which is how Bootstrap do it) see:
https://getbootstrap.com/docs/4.3/layout/grid/#nesting

Edit text in HTML [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I have an h1 header on my page that simply says "Hello world".
I want to know how I can add a form to change the header to say "Hello world from my_form_field_value".
It depends on the technology you are using (jQuery, ASP(.NET), PHP, etc).
user3047190's answer used jQuery (client side solution). If using a server side solution, you can have the form send a querystring containing the text to the server and return a page with the text you just typed in.
Here's an online example: http://html.net/tutorials/asp/lesson11_ex1.asp
Here's the tutorial explaining the above classic ASP example: http://html.net/tutorials/asp/lesson11.asp
This question is horribly phrased so I'm afraid I will answer your question with other answers.
What I believe you want is on input change, you want to capture the change (Detecting input change in jQuery?) and update the h1 text: $("h1").text("newString");
(that will only work with jquery included)

How to detect advertisement link? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I want to detect the links in page which are used for advertisement. Or is there any statistical data by which I can guess this link is for advertisement?
I know this isn't a concrete answer, but if I were doing the same, I'd take a look at AdBlock and other add-ons in browsers such as Firefox since they do much the same. There are quite a few open source add-ons out there where you can view the code that does this. And even most email programs detect junk mail (and ads) using Bayesian filters which I'm sure with a bit of tweaking would work well.

Customizing ebay store HTML and CSS code (How to?) [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I have an ebay store and it has some themes but I would like to be able to change the CSS and HTML code myself.
Does anyone know how this is done?
Thanks
I've done it several times earlier. Main thing is to add link to stylesheet (which is on your server). If i remember correct, you can add it where HTML for header is added, and then style elements generated by eBay. (Don't use id)