Hypertext Markup Language (HTML) is the standard markup language for documents designed to be displayed in a web browser.

HTML Documentation

Posts under HTML tag

68 Posts
Sort by:
Post not yet marked as solved
20 Replies
18k Views
webkitEnterFullScreen API is supported on iOS for video element, but not for a div element. Also as a fullscreen demo website shown, Safari on macOS supports div element but not on iOS. Is there any plan to add the support in iOS? If not is there any way to fullscreen a div element or make it run as fullscreen on Safari iOS?
Posted
by
Post not yet marked as solved
5 Replies
3.2k Views
We are currently experiencing a usability issue in our App. We also discovered this issue for sites in Safari as well. While using Voiceover in iOS 13.3+, we've discovered that VO skips all tables that are using a caption. This occurs when a user swipes to read the contents of the page. We also observed that using the "rotor" and choosing tables, it will not recognize that there is a table on the page. This has been repeated by multiple users on different devices. Our testing also encompassed VO on macOS Catalina and VO worked as expected for all tables we tested. Has anyone else come across this issue?
Posted
by
Post not yet marked as solved
3 Replies
2.3k Views
Currently in iOS Safari and Chrome, when you share a link via the share button, the link that gets copied is the canonical URL. The site that I am working on has a different website listed as the canonical URL (it's a requirement that can't be changed). Is it possible to force iOS Safari and Chrome so copy my website's original URL, instead of the canonical URL? My canonical urls are included in my site via the following tag: <link rel="canonical" href="www.example.com">
Posted
by
Post marked as solved
3 Replies
5k Views
Good morning! I am developing an iOS app that gets its data from an API and displays it in a list. The list item view has NavigationLink embedded in it that sends users to a detail view. In this detail view, I have some Text views but the issue I am running into is a WKWebView that I have implemented to display some HTML that's is retrieved from the API call. The WKWebView displays the HTML just how I want it to. The issue I have is in the HyperLinks that are displayed in the WKWebView. When a user taps on a link, it opens inside of the web view. Instead of opening in the web view, I would like this link to open in the user's default web browser. I have searched and found ways of doing this in older versions of Swift using classes but my web view is initialized inside of a struct that conforms to the UIViewRepresentable protocol. I don't know how to get links to open in the browser instead of the WebView so any help would be appreciated. Here is the code for my WebView that is being used on the details page. struct NewsItemWebView: UIViewRepresentable { // HTML from API Call     var text: String // Method to create the View     func makeUIView(context: Context) -> WKWebView {         return WKWebView()     } // Method to update the View by changing properties of the WebView     func updateUIView(_ uiView: WKWebView, context: Context) {         uiView.isOpaque = false         uiView.backgroundColor = UIColor.white         uiView.loadHTMLString(text, baseURL: nil)     } } Here is how I am implementing the WebView on DetailView NewsItemWebView(text: item.PageContent) .frame(height: 450) Any help on how I can make links open in a browser would be great. Thanks in advance.
Posted
by
Post not yet marked as solved
1 Replies
3.2k Views
Hello, I'm working for an IT company which edit Web apps and we use HTML tags with type="date" and type="time". Actually, we've got different problems on Safari (what I read was that these problems appeared with Safari 16). For and , the User Agent of Safari create tags inside tags (with pseudo-class "-webkit-datetime-edit-day-field" for instance) to display "ghost"/faked data when the value is empty or NULL (in fact, Safari display the current date, in the local format, in ). This behavior is really problematical for us because these inputs don't have to be filled every time (they are not required and don't have the attribute "required"), but they appear filled to our users... When you submit the form, the value is really empty (no value returned and that is what we want) but "something" is always displayed. We found a CSS trick to hide these things to our users but I think it's not normal, isn't it ? Can we block this Safari behavior ? Second problem : for , they are not editable anymore if their value is empty (we detect it thursday, April 6th 2023). However, if we put a specific value when we load the page, then we delete this value in the form, and then we change the value without loosing the focus of the input, it works. If we loose the focus, we can't click on the input to change its value or something else. Do you know the reason why ? For now, we are forced to change the type of these inputs to type="text" when users are on Safari in Javascript... Nevertheless, the official documentation (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date and https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/time) talks about compatibility between and Safari. Any idea ? Thank you for your time.
Posted
by
Post not yet marked as solved
0 Replies
469 Views
I am experiencing an issue with my iPad/iPhone app that was created using Add to Home Screen in Safari. When I remove a Vimeo video from fullscreen mode, the top of the window gets cut off, making it difficult to view the content. The only way I've been able to fix the issue is by changing the orientation of the device. I have noticed that this issue occurs only when the viewport meta tag has the attribute viewport-fit=cover. Has anyone else encountered this issue? Any suggestions on how to resolve it would be greatly appreciated. Before Fullscreen After Fullscreen
Posted
by
Post not yet marked as solved
0 Replies
684 Views
I am representing a cPanel based web hosting provider having issues with images not loading through Apple Mail client on iOS/OSX in some cases; seems like something with a recent update as this is a new complaint and we haven't changed anything on our end. This issue is reproduceable on multiple customer and technician devices, including but not limited to Phone SE third gen 2022 iOS 16.5 Beta Mac (Ventura 13.3.1 (22E261)) iPhone iOS 16.4.1 All devices are running the latest available version of the Apple Mail app from the store. To reproduce the issue all we have to do is send an HTML message containing an image with a src tag to a location on our server, and the image won't load in Apple Mail. Other email clients work fine on the same device, and the user can visit the images directly using their web browser, and they load fine. On the device side, we have confirmed that we are not blocking remote content, and that Apples mail privacy features are disabled. Cellular connection or WIFI, does not matter. With testing, we've confirmed this is not related to the IP address, or SSL certificate directly and feel it has something to do with the HTTP headers or SSL cipher settings. This was determined as a result of an A/B test with the same VPS server, same network, same IP address, same images, the only difference was that during the first test, Apache is used and the images won't load at all, and during the second test Nginx is used in front of Apache as a reverse proxy, which allows the images to load normally. The exact same LetsEncrypt based SSL is used in both tests since it's the same underlying server with the only difference SSL wise being some different ciphers supported on Apache vs Nginx. We're still trying to work with the cPanel team to compare the HTTP headers and see if we can't find a specific function or flag causing the problem, but if anyone else has any suggestions we'd be thrilled to hear them as this issue is causing our clients grief.
Posted
by
Post not yet marked as solved
0 Replies
671 Views
Using foreignObject in svg will cause the element display to be misaligned, is this by design or has this bug itself, and if it is a bug itself, is there a plan to fix the problem?
Posted
by
Post not yet marked as solved
0 Replies
516 Views
Hello. In order to respect the anonymity of the users of my web platform (by storing as little private data as possible in the database) I would like to know if OSx like its competitor Android proposes to use the internal security of the device (linked to a personal account - Apple or Android ID) to authenticate a user by requiring only his personal ID (or generated by the OS and intended for all browsers) for a double authentication and thus at the click of a button on the website send a text message on the phone (or all devices connected to the same account) to confirm to be the same person who accesses his personal account. using the same functionality as : . e.g. which would call the OS dual authentication system and ask the device (phone or tablet) to display a request for authentication confirmation either by simply clicking a button or by filling in a 6 digit code. Is it possible and does that exist ?
Posted
by
Post not yet marked as solved
0 Replies
514 Views
I have a page with the following meta tag: . When the user changes the screen orientation (portrait/landscape), a blank space appears on the right. However, if I remove the "initial-scale=1.0" from the meta tag, everything works fine without any blank space. Steps to reproduce: Create a page and add the meta tag with initial-scale=1.0 (or just add the meta tag with initial-scale=1.0 to any existing page). Open the page in portrait screen orientation (make sure everything is OK). Change the screen orientation to landscape (make sure everythig is OK). Change the screen orientation to portrait - a blank space will appear on the right. Expected result: The page will adjasted according to the new orientation. Actial result: Blank space appears on the right. Device: iPad 10th iOS 16
Posted
by
Post not yet marked as solved
0 Replies
776 Views
I am Web developer, and I needs multiple screen layout things, it's obvious that all the web browser supports debugging, inspection, and responsive mode, and it's enough for web frontend developer, but currently I notice that CSS is not working in safari, as it working in Google Chrome, because earlier both works parallel and similar. I tried using clear cache and history, which works earlier, but this time not.
Posted
by
Post not yet marked as solved
1 Replies
807 Views
Hey, I read the guidelines of the App Store and saw that repackaged website will be declined. Buts, an ionic application is basically a wrapped website and PWA as well. So I don't really understand the guidelines. Is there someone or somewhere I cam message to ask and get a formal answer? Thanks in a advance.
Posted
by
Post not yet marked as solved
4 Replies
660 Views
I have an app on my mac that generates an html file. There are different versions of this file. When the file is generated, Folder Actions triggers a bash script that uploads the file to my web site. This version of the file is wacked. I need to identify this file so I can upload a replacement instead. This version can be identified by the presence of the word JazzKnob. Grep can't find this text. Sed doesn't work either. Neither does awk. How can I successfully identify this file? nowplaying.html
Posted
by
Post not yet marked as solved
0 Replies
640 Views
Hello, My company and I have recently built a website for a client that has since launched and we discovered that some gated content is visible under Safari's reader mode. Is it possible to prevent videos loading in Safari's reader mode/disable them in reader mode? Thanks
Posted
by
Post marked as solved
3 Replies
452 Views
I am using Swift and Leaf Template to build a website and I am trying to render some cards based on the length of the array. I am stuck here. Someone should please help me out. func handleArticleList(_ req: Request) -> EventLoopFuture<View> { var articles = [ArticleList]() // Populate the articles array with some data let article1 = ArticleList(articleName: "Article 1", articleImage: "image1.jpg", articleDescription: "Description of Article 1") let article2 = ArticleList(articleName: "Article 2", articleImage: "image2.jpg", articleDescription: "Description of Article 2") let article3 = ArticleList(articleName: "Article 3", articleImage: "image3.jpg", articleDescription: "Description of Article 3") articles.append(article1) articles.append(article2) articles.append(article3) for article in articles { print("Article Name: \(article)") // print("Article Image: \(article.articleImage)") // print("Article Description: \(article.articleDescription)") print("---") } print("value: \(articles.count)") // Convert the array of ArticleList objects into an array of dictionaries let articleDictionaries = articles.map { article in return [ "articleName": article.articleName, "articleImage": article.articleImage, "articleDescription": article.articleDescription ] } // print(articleDictionaries) let context: [String: Any] = [ "articles": articles, "value": articles.count ] // print("CONTEXT : \(context.count)") return req.view.render("index", context ) } } struct ArticleList: Encodable { var articleName: String var articleImage: String var articleDescription: String } My Leaf Template <main> //bunch of tailwind and HTML #for(planet in articles): <li> <h2>#(planet.articleName)</h2> </li> #endfor <p>#(articles.count)</p> </div> </div> </main>
Posted
by
Post not yet marked as solved
0 Replies
461 Views
Hello, i am wondering why my HTML code is not working on iPhone, even though it is working on Windows PCs and Android phones. I listed a phone number in an email and made it clickable by adding this HTML code: 978-921-4334 Having sent the email, I accessed it on my phone through Gmail. The phone number is blue and looks like a button, can be clicked, but when clicked, it does nothing. I am not asked if I wish to call the number. This is not the case on my Windows PC and Android phone. The button responds as it should. Any idea on why this might be the case? Thanks in advance.
Posted
by
Post not yet marked as solved
4 Replies
1.7k Views
Hello, We're testing our app using iOS 17 beta to see if there's any problem, and we encountered an issue with an image rendered using HTML5 canvas having the alpha layer turning to white (See screenshot below) This happens not just our website but to other website as well. Both in UIWebView and Safari Browser. Is this going to be fixed before the actual release of iOS 17? or do we have to tweak our code somewhere in order to fix this? Thanks! Regards, Byron Bautista
Posted
by