Jump to content

Search the Community

Showing results for tags 'HTML'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • HTML/XHTML
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • XSLT/XSL-FO
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Languages

Found 799 results

  1. Hi im trying to make my site scroll and I cant seem to figure out why, all web pages appear with no scroll bar, and im wondering if its due to the template or the styles sheet. Findus.html
  2. Hi! I teach high school and I had a student making up an assignment last week that was from the beginning of February. We have discovered that HTML forms are not the same. I have emailed 2x and I get no response. What other updates have been made? We noticed the HTML 5 section is gone. What else have we missed? and most importantly, has the test been updated? My kids take the test in April 2020 and we started studying in August 2019 so I am concerned about the updates and we don't know what to study now. Please help!!!
  3. Hi, I'm not a massively proficient coder and I'm trying to find a way to list selected options in the configurator price section? I was thinking I could use some custom HTML but I'm not sure where to start. I have attached an image showing what I'd like to do. Is this possible or will it need to be completely custom coded? Any ideas would be massively helpful. Here's the current state of the page - https://gof.co.uk/test-configurator/ Thanks, Jack
  4. Hi, I was wondering how I could 'copy' the way w3 schools website menu from scrolling up and disappearing? I am using w3css for my projects. I was wondering if the feature I mentioned can be done using w3css. Thanks, Ben
  5. Hello, I'm a total novice to HTML and am currently working on a really basic page: The user inputs a name into a form, and then based on their input, the page displays a series of images. Each character of the name corresponds to a different image output. i.e. the name "Joy" would output the image corresponding to J, the image for O, and the image for Y, in that order. My initial idea for this was to store the value of each character of the name into an array, and then sequentially output the corresponding images. However, I can't seem to find a way to store the input into an array, let alone one character at a time. Any help would be much appreciated!
  6. Hi I want to take the HTML exam, but I don't know anyone who know html except me. I have no teacher or adult who knows about HTML other than me. Only my mom and she isn't certified to know this. So can I do it with out a supervisor?
  7. Tarun

    PHP

    i have created one php file and html file and connected to each other. But here i want a help reqards to php. Details mentioned below: This is my HTML file: <form method="post" action="contact.php"> <textarea name="message"></textarea> <input type="submit"> </form> This is my PHP file: <?php if($_POST["message"]) { mail("your@email.address", "Form to email message", $_POST["message"], "From: an@email.address"); } ?> Here i want to know is if i want to add another textarea say it as name in HTML, so can you help me with the PHP coding, as i have tried with adding the another text area in PHP to retrieve data to my email, but i am not able to receive that.
  8. Hello guys, I am new to coding. Currently, I am working on a demo project that uploads a photo and returns with the name of the person. So basically I use HTML and it consists of 2 pages, the first page - for users to upload photos and submit it while the second page - the recognized name in the photo will be shown. In order to make this work, I have a web service that I need to enable it for face recognition to work, firstly on the first page users take picture and press the submit button, the photo will be uploaded to the web service to perform recognition, after the image is recognized it will go to the second page to display the recognized person. The first page has a submit button, which is to upload the photo, but I wanted the submit button to be on the second page as well so that the users can submit another photo, without the need to go back to the first page. Since I want the Submit button on both pages, therefore I used the same code: <form> <div class="upload-btn-wrapper"> <button class="btn">Submit</button> </div> </form> It worked fine on the first page, but not on the second. Whenever I press the Submit button on the second page to upload another picture, the button redirects me back to the first page. Why is that? Hope to get some advises here. Thank You.
  9. Dear all, I am writing here because I am pretty stuck with this issue in my website I have a quite straightforward one page layout with 5 sections and a nav bar with links to sections. I have managed to put links to the sections, but when I click on those links it does not bring me to the section title but somewhere in the section, near its bottom. The code I am using is the following: <a class="dropdown-item" href="#DF"> where #DF is the id of the section. Do you know a way to link exactly at the section title? Your help is kindly appreciated. Thank you very much.
  10. I can't find an answer for this problem and it's starting to seriously annoy me. Any PNG image I link to my html is noticeably darker/sharper/more contrasted than its source. Images attached to post, context and code below, too. I created a BLANK html page and added one single image to test it out. The images with cats differ in that the HTML version (bottom) is clearly sharper (if you look closer at the fur) compared to its source file, while the png image of a green diamond on a dark grey background that I myself made is much lighter in the source, compared to its browser child - look at the black dot I painted for comparison, one is pretty visible, while the one on the right is practically camouflaged in its own background. Here are the lines I used for the diamond, the same for the cat (just a different source: <!DOCTYPE html> <html> <head> <title>Test</title> </head> <body> <img src="images/diamond.png" class="diamond"> </body> </html> This is important to me, because my website is primarily image-driven, and if all the images are darker than my actual products, it might cause me trouble. Browsers used: Latest versions of Chrome and Firefox
  11. To Whom may concern, I was making a background color for HTML using visual studio, I used this code for set the background color: <html> <head> <title>Page Title</title> </head> <body style="background-color: aqua"> A text. </body> </html> But When I saw the preview for that, It's just set the background text for TEXTS that typed in Body. I want to make it for the whole page. I already tried this code for set the background color: <html> <head> <title>Page Title</title> </head> <body bgcolor="aqua"> A text. </body> </html> Is there any way for me to do the whole page by a specific color?
  12. Hi, Can someone please help with some code I am trying to have the numbers *clicked* & stay blue in color and then display over on the right side in the ? circles only allowing each number to be used once photo is attached of my web page
  13. i cant make background color fully the entire page with fixed sidebar, can you help me to give the background color fully in main side bar. sorry for my bad english :) This the link fixed sidebar
  14. Hi Raw beginner here. I'm looking at <ul> and <ol> and wondering why there is a difference in how the style is coded in the examples given: <ul style="list-style-type:disc;"> <ol type="A"> Are these interchangeable or is there a reason why they're different? Thanks .
  15. Dear all, In my project, I am using an emebedded webserver LIGHTTPD with PHP. Within the main webpage, I use slider to write its value within a local file on my Linux OS. I wrote the slider like this: <input type="range" name="lightInputName" id="lightInputId" value="1" min="1" max="20" onchange="getvalor(this.value);" oninput="lightOutputId.value = lightInputId.value"> <input size="1" type="text" name="lightOutputName" id="lightOutputId"></input> What I want to do is to know if a javascript and/or PHP script is able to read the value of the slider, and copy it onto a local file. I don't have any idea on how to do this. Many thanks for your guidance. Best regards,
  16. Hi all, Working with: Linux Debian Lighttpd Server PHP7.0 I want to launch some shell scripts pressing HTML buttons. All the files are placed in /var/www/html The rights are done by: sudo chown www-data:www-data /var/www/ So, I wrote a very simple code: HTML test code (index.html): <form action="openApp.php"> <input type="submit" value="Open Script"> </form> PHP test code (openApp.php): <?php exec('test.sh'); header('Location: http://localhost/index.html?success=true'); ?> But no luck, nothing is working. Note that the shell script just create an empty file like that: touch /home/$USER/testFile Also, my Lighttpd configuration file is like that: server.modules = ( "mod_access", "mod_alias", "mod_compress", "mod_fastcgi", "mod_redirect", ) May be I am wrong with that piece of code. Do I need some Javascript to do the job ? May be the rights are wrong ? Could you help me please ? I am stuck with that. Thank you for your help and support
  17. Hi all, As a complete HTML novice, I'm generally able to solve issues through trial and error, but I'm working on a landing page for our new Zoom account and for the life of me I cannot figure out how to get the the 3 buttons centred under the logo/welcome message (see attached). I've copied the code here for your reference: https://docs.google.com/document/d/1zVs9P8ikQyeZz6Lb2mDaZRFBsk8bbEd45VRDd71ib_k/edit?usp=sharing Any suggestions would be much appreciated! 😊 Best, Olivia
  18. gliak

    Slider height problem

    I am trying to adjust height (manually or automatically) of a slider in css. Problem is that images shown may be shorter or taller than preset and they also carry a piece of text that should be displayed. I attach html, css and a set of screenshots with explanations. Thank you! research_en.html style.css
  19. Hello, I am trying to make website with inclusive design for my homework and I have three functions that are changing the text size, text style and site color theme, but I can not save the changes after I reload the page. This is my code for changing the text size: localStorage.setItem('z', '1'); function size() { if (localStorage.getItem('z')=="1"){ txt = document.getElementById("a").style.fontSize = "25px"; localStorage.removeItem("z"); localStorage.setItem('z', '2'); } else if (localStorage.getItem('z')=="2") { txt = document.getElementById("a").style.fontSize = "30px"; localStorage.removeItem("z"); localStorage.setItem('z', '3'); } else { txt = document.getElementById("a").style.fontSize = "20px"; localStorage.removeItem("z"); localStorage.setItem('z', '1'); } } The code in my html is this: <body onload="size()"> <button type="button" " onclick="size();">Change Text Size</button> <div id='a'>Some text</div> </body> I believe I can make the other two function save their changes If I see how to make this one. Thank you !
  20. I m a teenage student, interested in knowing the built of online editors and compilers for general purpose programming languages Can any one in the forum wanna help. I want to create it for my self. I don't want embed but wanna built it.
  21. I finished studying html, and i started CSS but its same as html. should i skip css and just go to JS? i have a background in c (arduino and raspberry pi ), am not interested in the whole front-end code (its like making a power-point presentation more than coding). when am going through css its like a am going through html yet again. i could finish it in a week probably (since i finished studying html and since it seems like css is the style sheet of html). am just feeling like am wasting my time. I have this bad habit, if i start reading something, i don't feel completed if i don't go from cover to cover. PS: even if i got a comment to skip CSS, i would probably do the contrary and finish it (i just don't feel its that important for a person who is interested in the back-end programming ). i have got this bad habit of following numbers and steps even if its so repetitive.
  22. Write a web page that will ask the user whether they like apple. the web page will provide feedback through the use of an alert box. The feedback will indicate "that is great" when the user says yes, "that is bad " when the user says no, and "invalid input" for any other answer. USE ONLY FUNCTIONS WITH THIS
  23. Hey there folks! That's my first time around w3 forums so I'm glad to be here! 🙋‍♀️ The persistent error that I'm having is that in my simple HTML site I just want to insert an audio (yes, only one audio track) and loop it at infinitum. This is easly done, the problem is that I'd like that audio to be "livestreamed" kind of, I'd like to that everyone that connects to the site listens to the same point of the music where I'm listening. For example, If type my site and click it, the audio might start at 2:34 and so on... It would be kind of a livestreaming but just for one audio! Is it possible with pure HTML? Thanks in advance!👌
  24. Hi new to this so hopefully, someone can point me in the right direction.. currently trying to use this https://www.w3schools.com/howto/howto_js_collapsible.asp to create a staff profile element. i have changed it so the elements sit side by side but when I click on the hidden content it pushes the other two elements down the page. I would like them to stay in line with the content appearing below. my reworking of the code is this.. HELP /*the team section CSS*/ .the-team{ clear: both; } .the-team-inner{ margin: 0 auto; width: 80%; padding: 4.5em; } .team-members{ width: 25%; display: inline-block; padding: 3.8em; } .team-members img{ width: 100%; } .collapsible { background-color: #777; color: white; cursor: pointer; padding: 18px; width: 100%; border: none; text-align: left; outline: none; font-size: 1.4em; } .active, .collapsible:hover { background-color: #555; } .collapsible:after { content: '\002B'; color: white; font-weight: bold; float: right; margin-left: 5px; } .active:after { content: "\2212"; } .content { padding: 0 18px; max-height: 0; overflow: hidden; transition: max-height 0.2s ease-out; background-color: #f1f1f1; } <!-- THE TEAM HTML--> <div class="the-team"> <div class="the-team-inner"> <div class="team-members"> <img src="images/headshot.png" alt="headshot one"> <button class="collapsible">Ronnie Garrick</button> <div class="content"> <p>Ronnie has over 30 years of global energy industry experience and has played an integral role within a number of technology-focused companies. Ronnie has a strong a track record of internationalisation and export in both the onshore and offshore markets – his expertise has been gained within key Director roles in operations, sales, finance and board level activity.</p> <p>Starting his career with BP working at the Grangemouth Oil refinery in Scotland, Ronnie has successfully led a number of M&A’s including the sale of a global oilfield service firm to Lime Rock Partners in 2007. He continued as CEO to lead the company with its international expansion in regions including the US, Norway, Middle East and Europe until his exit following the successful sale to Buckthorn Partners in 2017. </p> <p>He currently sits as a Non-Exec Director on the investor Board of TWMA and is looking forward to assisting and transforming businesses through the combined expertise of Garrick Group. </p> </div> </div> <div class="team-members"> <img src="images/headshot.png" alt="headshot one"> <button class="collapsible">Davie Garrick</button> <div class="content"> <p>Davie started his career in Shetland as an apprentice plant mechanic and has gained years of experience both on and offshore. Playing a key role across multiple disciplines, Davie has been integral in building the capabilities and global reach of oil service businesses within the energy sector.</p> <p>Following the merger to form TWMA, and subsequent sale to Lime Rock Partners in 2007, Davie exited the business in 2017 and continues to sit as a non-exec Director on the Investor Board.</p> <p>With an operational, technical and commercial skillset, he aims to use his experience and track record in the industry for further non-exec and investment opportunities. </p> </div> </div> <div class="team-members"> <img src="images/headshot.png" alt="headshot one"> <button class="collapsible">Douglas Garrick </button> <div class="content"> <p>Douglas has over 25 years of experience gained in directing businesses through acquisitions, disposals, funding and private equity. As Finance Director, Douglas led a global oil services firm from a privately owned SME to become an equity backed £50million turnover organisation with 550 staff. Following his exit from TWMA, Douglas now aims to use his finance and commercial track record to assist other growing businesses in related industries.</p> <p>His other areas of expertise include legal disputes and resolutions, disposals, funding, property management and insurances. </p> <p>Douglas has completed the Non-Executive Director Programme at the University of Edinburgh Business School and Institute of Directors. </p> </div> </div> </div> </div>
  25. I am writing a CRUD and this is a test page to combine 3 separate files into one page. If I comment out the final "else" section entirely the first "if" section and the "else if" section work fine, no errors. After I remove the comment marks for the final "else" section I get this error: PHP Parse error: syntax error, unexpected '?>' in /public_html/crud/test.php on line 139 (<- the line 139 the error points to is the final php closing tag before the closing body tag) It should be obvious, simple, but I can't find any reason why it is throwing out that error and breaking the page (it is just a blank white page). I'm sure somebody can scan through the code and see what I'm missing. Thanks. <!DOCTYPE html> <html> <head> <?php require_once "../HeaderStuff.php"; require_once "../connection.php"; ?> <style> table { width: 100%; } th {background-color: #f1f1c1;} .margin {margin-top: 4em;} </style> </head> <body style="background-color:<?php echo $bgColor; ?>"> <?php $choice = $_GET['choice']; $id = $_GET['id']; if ($choice == 'blogsEdit') { ?> <table class="w3-table-all"> <thead> <tr> <th class="textBig w3-padding-32 w3-left-align">Website Administration - Edit Blog</th> </tr> </thead> </table> <?php $sql = "SELECT id, cat, Fdate, title, para1, story, pic, picAlt FROM blogs WHERE id = $id"; $result = mysqli_query($link, $sql); if (mysqli_num_rows($result) > 0) { // output data of each row while($row = mysqli_fetch_assoc($result)) { // Display each field of the records. $id=$row['id']; // the blog id $cat=$row['cat']; // the blog category $Fdate=$row['Fdate']; // the blog date $title=$row['title']; // short title of the blog $para1=$row['para1']; // the introduction paragraph $story=$row['story']; // the rest of the blog after the intro paragraph $pic=$row['pic']; // picture for the blog $picAlt=$row['picAlt']; // alt text for the picture ?> <fieldset> <form action="blogsUpdate.php" method="post"> <table class="w3-table-all"> <tr> <th>Category:</th> <td><?php echo $cat; ?></td> </tr> <tr> <th>Blog Date:</th> <td><input type="text" name="Fdate" value="<?php echo $Fdate; ?>" /></td> </tr> <tr> <th>Blog Title</th> <td><input type="text" name="title" size="150" value="<?php echo $title; ?>" /></td> </tr> <tr> <th>Intro Paragraph</th> <td><textarea name="para1" id="para1" cols="150" rows="5"><?php echo $para1; ?></textarea></td> </tr> <tr> <th>Story</th> <td><textarea name="story" id="story" cols="150" rows="10"><?php echo $story; ?></textarea></td> </tr> <tr> <th>Picture File Name</th> <td><input type="text" name="pic" size="50" value="<?php echo $pic; ?>" /></td> </tr> <tr> <th>Picture Alt Text</th> <td><input type="text" size="150" name="picAlt" value="<?php echo $picAlt; ?>" /></td> </tr> <tr> <input type="hidden" name="id" value="<?php echo $id; ?>" /> <td colspan="2"><button type="submit">Save Changes</button></td> </tr> </table> </form> </fieldset> <?php } } else { echo "0 results"; } } else if ($choice == 'lessonsEdit') { ?> <table class="w3-table-all"> <thead> <tr> <th class="textBig w3-padding-32 w3-left-align">Website Administration - Edit Lesson</th> </tr> </thead> </table> <?php $sql = "SELECT id, cat, Fname FROM blogs WHERE id = $id"; $result = mysqli_query($link, $sql); if (mysqli_num_rows($result) > 0) { // output data of each row while($row = mysqli_fetch_assoc($result)) { // Display each field of the records. $id=$row['id']; // the lesson id $cat=$row['cat']; // the lesson category $Fname=$row['Fname']; // the file name ?> <fieldset> <form action="lessonsUpdate.php" method="post"> <table class="w3-table-all"> <tr> <th>Category:</th> <td><?php echo $cat; ?></td> </tr> <tr> <th>File Name:</th> <td><input type="text" name="Fname" value="<?php echo $Fname; ?>" /></td> </tr> <tr> <input type="hidden" name="id" value="<?php echo $id; ?>" /> <td colspan="2"><button type="submit">Save Changes</button></td> </tr> </table> </form> </fieldset> <?php } } else { echo "0 results"; } } else ($choice == 'writsEdit') { ?> <table class="w3-table-all"> <thead> <tr> <th class="textBig w3-padding-32 w3-left-align">Website Administration - Edit Writing</th> </tr> </thead> </table> <?php $sql = "SELECT id, cat, title, story FROM blogs WHERE id = $id"; $result = mysqli_query($link, $sql); if (mysqli_num_rows($result) > 0) { // output data of each row while($row = mysqli_fetch_assoc($result)) { // Display each field of the records. $id=$row['id']; // the writing id $cat=$row['cat']; // the category $title=$row['title']; // title of the writing $story=$row['story']; // the poem or story ?> <fieldset> <form action="writsUpdate.php" method="post"> <table class="w3-table-all"> <tr> <th>ID:</th> <td><?php echo $id; ?></td> </tr> <tr> <th>Category:</th> <td><?php echo $cat; ?></td> </tr> <tr> <th>Title</th> <td><input type="text" name="title" size="150" value="<?php echo $title; ?>" /></td> </tr> <tr> <th>Story</th> <td><textarea name="story" id="story" cols="150" rows="10"><?php echo $story; ?></textarea></td> </tr> <tr> <input type="hidden" name="id" value="<?php echo $id; ?>" /> <td colspan="2"><button type="submit">Save Changes</button></td> </tr> </table> </form> </fieldset> <?php } } else { echo "0 results"; } } ?> </body> </html>
×
×
  • Create New...