Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
html5
- Page 1
‘Advanced AI should be treated similar to Weapons of Mass Destruction’
Community Center
6 Days Ago
by Johannes C.
**AI policy theorist Demetrius Floudas introduces a novel era classification for the AI epoch and reveals the hidden dangers of AGI, predicting the potential obsolescence of humanity. In retort, he proposes a provocative International Control Treaty.** ![header-agitalks-demetrius.jpg](https://static.daniweb.com/attachments/4/…
Image Analysis Using OpenAI GPT-4o Model
Programming
Computer Science
6 Days Ago
by usmanmalik57
OpenAI announced the [GPT-4o (omni)](https://community.openai.com/t/announcing-gpt-4o-in-the-api/744700) model on May 13, 2024. The GPT-4o model, as the name suggests, can process multimodal inputs, such as text, image, and speech. As per OpenAI, GPT-4o is the state-of-the-art and best-performing large language model. Among GPT-4o's many …
Re: This Halloween: Are You Brave Enough to Face Roko's Basilisk?
Community Center
3 Days Ago
by olivia_24
It also assumes that said AI will be vindictive (like the gods). If the theory is correct, why would a sentient AI need to be vengeful once it has been created? In any case, there is still no evidence that machine consciousness it attainable. At least one engineer involved in the development of OpenAI has made claims about consciousness, but those …
Re: HTML Navigation Menu Alignment Issue
Programming
Web Development
2 Weeks Ago
by Dani
Can you include the CSS you're using for this?
RegEx to wrap words in HTML
Programming
Software Development
2 Weeks Ago
by samzz
Hello, I would like to wrap (surround) all words "flyer" (case insensitive) in the HTML text content, not those in the link. My RegEx works fine on Regex101: https://regex101.com/r/NVmXd1/1 Attached, my HTML file to test my (non working) JS RegEx. Thank you and regards.
Re: RegEx to wrap words in HTML
Programming
Software Development
2 Weeks Ago
by samzz
I found a solution to my problem. See attached HTML file. Solution: function testRX() { var rex=new RegExp("(?<=>[^<]*)(flyer)|(flyer)(?=[^>]*<)","gi"); //Previous one had mistake var str=document.getElementById("str").textContent; //Not .innerHTML var res=str.replace(rex,&…
Re: Display specific html tag on specific pages
Programming
Web Development
4 Weeks Ago
by ianhaneybs
Thank you so much for the code Dani, that does look a lot cleaner and better than what I have
Re: RegEx to wrap words in HTML
Programming
Software Development
2 Weeks Ago
by Dani
I'm glad you got it working. Sorry, I just saw this thread now. I, myself, struggle quite frequently with Regex. Regex101 is always my lifesaver. Thank you so much for posting your solution so that it can be helpful to others in the future. I've marked this question solved.
Graph of quadratic function with CanvasRenderingContext2D
Programming
Web Development
4 Weeks Ago
by alexanderrm2024
Hello everyone, I have a task in which I would like to implement the graphical visualisation of a quadratic equation in the interval x =[-10,10] and - if any exist - the corresponding zeros, using CanvasRenderingContext2D methods. To convert the coordinates into pixel coordinates within the canvas: the coordinates into pixel coordinates …
Re: Google is promoting reddit in an arrogant way
Programming
Web Development
3 Weeks Ago
by Dani
For sure. Years ago, Google *hated* forums. We lost all of our traffic and membership and post activity quickly followed. Nowadays, Google *loves* forums. However, our traffic has yet to return, although I've been hearing through SEO communities that some other forums have regained their traffic. Here's an article on one of the more popular …
Re: Which Python PDF writing library is best?
Digital Media
UI / UX Design
2 Weeks Ago
by pyeri
I've had pretty decent experience with [xhtml2pdf](https://xhtml2pdf.readthedocs.io/). The best part about this PDF library is that you don't have to worry about the low level nitty-gritty of PDF creation, you can simply generate a PDF from your HTML formatted content.
Re: What is Schema Markup Code?
Programming
Web Development
2 Weeks Ago
by Dani
> What exactly is schema markup code? JSON or HTML microdata that gives search engines additional context as to what is on a page. For example, it lets search engine bots know that this is a Q&A page, comprised of a question, multiple answers, how many upvotes or downvotes each answer received, the member who wrote each post, etc. All …
Re: Unpopular Opinion: Bootstrap+jquery+CI is the best thing since sliced bread
Programming
Web Development
1 Week Ago
by Dani
I've posted my story many times before, but here it is again :) I've been programming the majority of my life, first in Apple BASIC, then QBasic, then Visual Basic, then C++. PHP was my first foray into web development, and DaniWeb was my first project. DaniWeb started 22 years ago with phpBB, and then evolved to vBulletin. I knew the phpBB code…
Re: Graph of quadratic function with CanvasRenderingContext2D
Programming
Web Development
4 Weeks Ago
by Dani
Have you learned how to graph things? Did your professor teach you about using Canvas yet? Here is a tutorial for getting started: https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial
Re: Why does Dell hate Linux so much?
Hardware and Software
Linux and Unix
3 Weeks Ago
by simhakidsden
It's quite baffling to witness such a stark contrast in Dell's approach to promoting Ubuntu between Europe and the USA. Their inconsistent messaging only adds to the confusion for potential customers. Hopefully, Dell can streamline their marketing strategy to provide clearer information and support for Linux enthusiasts worldwide.
Re: Do email clients respect CSP?
Programming
Web Development
3 Weeks Ago
by Ethanbrody
CSP (Content Security Policy) restricts what content can load on a webpage. It aims to prevent malicious scripts or unwanted content. Email clients generally don't follow website CSP rules. They often render emails in their own way, bypassing the website's security settings. So, while website CSP can't directly control email content, it can …
Re: This Halloween: Are You Brave Enough to Face Roko's Basilisk?
Community Center
1 Week Ago
by soly_1
Although superintelligence and God are both considered "mighty entities," the devil is in the details. A superintelligence merely needs code; unlike supernatural beings, it doesn't require faith. The proof isn't found in antiquated literature, but rather in the quick developments in AI and machine learning. Though, in my opinion, the …
HTML Navigation Menu Alignment Issue
Programming
Web Development
1 Month Ago
by khan zain
"I'm working on a navigation menu for my HTML page, but it's not behaving as expected. The links aren't aligning properly, and the styling seems a bit wonky. I've included the code below. Can anyone help me figure out what's causing this navigation headache? This my Code <!DOCTYPE html> <html lang="&…
HTML Image Embedding Issue
Programming
Web Development
1 Month Ago
by khan zain
"I'm attempting to embed an image in my HTML page, but it's not showing up. I've checked the file path, and it seems correct. Below is the code I'm using. Any insights on why the image isn't displaying as expected?"" <!DOCTYPE html> <html lang=""en""> <head> <meta…
Re: HTML Image Embedding Issue
Programming
Web Development
1 Month Ago
by Steve_89
It seems like the issue might be with the path to the image. Here are a few things to check: 1. **Relative Path**: Ensure that the path to your image is relative to the location of your HTML file. If your HTML file and the "images" folder are in the same directory, your current path should work. 2. **File Extension**: Make sure the …
How Build Html form ?
Programming
Web Development
2 Months Ago
by Kirubel_2
<!DOCTYPE html> <html style="font-size: 16px;" lang="en"><head> <title>Comment</title> <script src="js/jquery.js"></script> <link rel="stylesheet" href="sign.css"> </head> <body …
Re: How Build Html form ?
Programming
Web Development
1 Month Ago
by Dani
I'm not exactly understanding your question. I see you have an HTML form here in this HTML code. What is not working about it? You need to specify the action="#" to be a URL that will process the form.
How Build video-player in html And css ?
Programming
2 Months Ago
by Kirubel_2
<head><title>navigation</title> <link rel="stylesheet" href="../css/nav.css"> <link rel="stylesheet" href="../css/tutorial.css"> <link rel="stylesheet" href="../css/vedio.css"> <link rel="stylesheet" href="…
Display specific html tag on specific pages
Programming
Web Development
1 Month Ago
by ianhaneybs
I want to display different html tags on the php page they are visiting, for example on the homepage and the computer shop basildon page I want the html tag `<section class="testimonal-two pt-0">` and on all other pages I want the code `<section class="testimonal-two">` Below is the code I have so far and it works…
Re: How Build video-player in html And css ?
Programming
2 Months Ago
by Kirubel_2
body{ /* background: url(../img/w11.png); */ background: url(../img/m.jpg); background-size: cover; background-repeat: no-repeat; margin: 0; padding: 0; height: 101vh; overflow-y: hidden; } .container button{ background: transparent; …
Re: Finished learning basics of html and css. What next?
Community Center
Geeks' Lounge
2 Months Ago
by Dani
Or you could try the React framework instead of Angular. I've heard better things about it.
Re: Display specific html tag on specific pages
Programming
Web Development
1 Month Ago
by ianhaneybs
Just got it working with the following code <?php $currentpage = $_SERVER['REQUEST_URI']; if($currentpage=="/" || $currentpage=="/index.php" || $currentpage=="/index" || $currentpage=="" || $currentpage=="/computer-shop-basildon.php" || $currentpage=="/…
Re: Display specific html tag on specific pages
Programming
Web Development
4 Weeks Ago
by Dani
Glad you got it figured out. Here is a cleaner way of presenting the above code so it doesn't look so messy: <?php // Retrieve the current page $currentpage = $_SERVER['REQUEST_URI']; // Most pages have this CSS class $class = 'testimonial-two'; // Array of pages $array = array( '/',…
AirTM API: How to Build a Form?
Programming
Web Development
2 Months Ago
by FarrisFahad
Hello, I am somewhat new to APIs. I have integrated PayPal payments successfully. With PayPal, I can send the user to the payment page using an HTML form. Here is an example ... <!-- PAYPAL --> <form action="https://www.paypal.com/cgi-bin/webscr" method="POST" name="_cart"> <input…
Hi everyone, I'm ដំណើរ
Community Center
Say Hello!
2 Months Ago
by ដំណើរ
arguments passed in /var/www/gamebar/html/kh/api/redirectpage.php on line 14
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC