HT2523 Can I use TextEdit to write HTML?

I'm  starting to try and practice writing baisic HTML and I'm wondering if TextEdit can be used  to write HTML and save it as a HTML document. All feedback appriciated.

Sam,
Yes you can. It is very basic but it will work. When you do your code, simply Save As and type in "html" where "txt" of the file name, then hit save. It will save it as an HTML document.
But as Matt is saying there is a lot of easier software out there to write HTML.
The best website where I learned HTML (and other scripting language) is at http://www.w3schools.com which is a free website where you can easily learn HTML. They even have lessons where you can practice right on their webpage.
Good luck.
Phil

Similar Messages

  • Problem with TextEdit to write html

    Hello, I use TextEdit to write html.
    I have activated the option  "ignore rich text commands in HTML files" and the html documents open as web source, but when I edit the code and save the document the extension html change to .txt
    I work with TextEdit 1.7 (Mac OS Lion), but with TextEdit 1.6 (Mac OS Snow Leopard) the extension doesn't change.

    Thanks Hiroto,
    Your solution works!
    So here is the final code:
    set msgContent to "Lorem ipsum etc."
    set mountString to "afp://user:[email protected]/data/" -- example afp server access
    mount volume mountString -- mounts correctly
    set filePath to "/Volumes/data/Downloads/" & "LogFile.txt"
    set f to open for access POSIX file filePath with write permission
    write msgContent to f
    close access f
    Cheers,
    gilles

  • The log file which can be used to track the HTML preview of HFR Reports

    Hi,
    Could you please let me know the log file which can be used to track the HTML preview of HFR Reports?
    Thanks,
    Aparna

    You could check the FinancialReporting0.log and FRLogging.log .You could refer the same in the
    " http://docs.oracle.com/cd/E17236_01/epm.1112/epm_install_troubleshooting_11121.pdf" page 47.

  • Can i use JSF tags and HTML tages Together

    i am trying to use html and JSf tages together. i hope it should owrk. but for me html tags are not working.
    can any one help me

    thanks
    its working but i have one more clarification
    can we wuse jsf tags in javascript
    for examp
    this my javascript using html
    newQuotCell1[0].innerHTML='<input type=text class=TextField name="nameofEmployer'+count1+'">';
    if i want to write a jsf tage there . does it allow
    i want to bind the textfield with bean value . Is it possibel.
    please let me know.
    thansk in advance

  • I'm using a Mac OS X (10.9.2) Mtn. Lion (converted to Mavericks) and use Safari for Gmail, my long time email program. Lately I almost cannot use Gmail at all. "Missing Files", "Errors", etc, etc, and can only use it in Basic HTML. HELP!

    I have no idea if the problem is with Safari or with the Gmail files.  I get the msg. "Error' over and over and often "you may have entered the address wrong" (when I KNOW I HAVE NOT) and other msgs. which I do not remember at this time. I'm having to use ''Basic HTML" and that seems to be OK - tho it is insufficient. The "Mail" app in OS X works fine but I cannot tolerate the format and must solve this dilemma. Any suggestions?  I've read the "related issues" section and have not found anything closely related to this issue and would appreciate any suggestions.
    Thanks tons.
    Sam Sayger
    Hernando, MS

    I have no idea if the problem is with Safari or with the Gmail files.  I get the msg. "Error' over and over and often "you may have entered the address wrong" (when I KNOW I HAVE NOT) and other msgs. which I do not remember at this time. I'm having to use ''Basic HTML" and that seems to be OK - tho it is insufficient. The "Mail" app in OS X works fine but I cannot tolerate the format and must solve this dilemma. Any suggestions?  I've read the "related issues" section and have not found anything closely related to this issue and would appreciate any suggestions.
    Thanks tons.
    Sam Sayger
    Hernando, MS

  • What apps can I use to both write and illustrate my book.

    I am hoping to learn what apps can help me both write and illustrate my book.

    I have tried that before, for some reason it dosent work for me. How about some paying ones? Someone told me about Foxtube, is it worth it?

  • Can not use scroll mouse in html tab when open pdf file in new tab with middle button but will avaliable only after switch to pdf tab and switch back to html

    When I open a "pdf" file in new tab with middle mouse click. After few second my mouse will not able to scroll in page that I read. But it will be able to scroll only after I click to any opened pdf tab and click on pdf document and click back on previous tab to continue reading. It is not only happen on my laptop also on my desktop too. (winxp 4gb/8gb ram core2 duo 2.66)

    There's a Bug filed about that issue.

  • Question about HTML files using TextEdit

    First off, I wanted to ask if this is the proper place to post a question about HTML/XHTML. I couldn't really find anywhere else that seemed to fit better, but please point me in the right direction if this is not the place. Thanks.
    Moving on -- here's my question:
    I'm having trouble with working with HTML files in TextEdit. I'm on a Mac, using TextEdit as my HTML editor (I can not afford one of these other HTML editors, and I like using a simple text editor like TextEdit for HTML). Here's my problem: I open a new rich text document in TextEdit and write my HTML and then choose File>Save As and choose "HTML" under the File Format drop-down box. Having saved this file as an HTML file, I then open Safari and choose File>Open File and select my HTML file; however, when I do this, my web page's text does not appear in the browser window. Instead, the HTML code itself appears in the browser window, as if the browser was not interpreting it as HTML and converting it. The same problem happens when saving the file as a .htm file using Microsoft Word for Mac.
    So, as another solution (at the suggestion of a helpful poster in a previous thread), I tried creating a plain text file in TextEdit (instead of a rich text file like before). Now, in TextEdit there is no option for saving plain text files as HTML files, so I simply save it as a Unicode-8 format and then find the file in Finder and change the extension to .htm myself (I've tried .html as well). This, fortunately enough, actually works! When I open the file in Safari I get to see my web page as expected. However, the first time I quit out of the application TextEdit and then try to reopen my .htm file in TextEdit, I no longer can see my HTML code. Instead, TextEdit shows me the actual web page text that I would expect to see when I open the file in a browser, and my HMTL code is lost.
    Can someone please help me here? There has to be a way to edit HTML in TextEdit without the code disappearing every time you quit out of the application and reopen the HTML file. Any help is greatly, greatly appreciated. Thank you.

    That's the problem -- once I convert it to plain text there is no longer an HTML option under the Save As drop down menu. The drop down menu's title is Plain Text Encoding instead of File Format and the only options I get are Unicode-8, Unicode-16, Western, Chinese, and so forth. I can save it as an HTML file, but only if the file is rich text, which doesn't work for HTML.
    So, I can save it as plain text (.txt) and then go and change the extension myself, and like I said, it works if I do that. I can edit HTML in TextEdit and open the file properly in Safari to view my web page. The problem is (I went over all this in my first post) that, after that, if I exit TextEdit and reopen it, my document is no longer HTML code -- it is now simply the text of the web site as if I had opened it in a broswer.
    What do you suggest I do?

  • What application can I write html in?

    Hey, I was a windows user, and I used notepad to write HTML. What program on the mac is capiable of doing that?
    Sorry, I couldn't find a previous thread on it.

    http://store.apple.com/1-800-MY-APPLE/WebObjects/AppleStore.woa/6404000/wo/1i4Jt 1A4K2P12lDcQyizUDwg2eg/1.0.19.1.0.8.25.7.11.5.3
    there's an application for HTML

  • Using TextEdit to create a web page?

    I've been using Microsoft Notepad to create web pages.  Now I have an iMac, I've tried to use TextEdit, but when I save the the file as html you can see all my code. Do I need a Mac version of Notepad - is there one?
    chrisvips

    From my experience when I was doing online course for web design I did use TextEdit for the html coding in the Prefernces go to "Open and Save" under the HTML Saving Options, choose a document type, a setting for CSS and encoding.

  • What Floppy Drive can I use with Mountain Lion to read and write floppy which can be read by SE30 with 7.1

    I want to File Exchange between an iMac with 10.8.4 and a SE30 with 7.1.
    All I want to do is install some software, such as Word 5.1 and a Chess game and some Fonts.
    I have an external USB Floppy Drive but my iMac can only write to it IF I format as FAT, if I format it with the SE30 it can only be read and not written onto by the iMac.
    Is there a way I can actually format/read/write Macintosh extended (HFS+) with Mountain Lion?
    The external USB Floppy is a generic black one I bought from Amazon last week.
    Someone else said I should get a Macally USB Floppy Drive and that reads/writes HFS+ etc with 10.8 no problem.
    Is this because the Macally was released along with the Bondi Blue iMac?
    I have tried using Apple Exchange on my SE30 - recorded some files onto the FAT formatted Floppy, and read it using Apple Exchange, but when 'translating' the Files transferred over as generic files which were no longer Macintosh programs or Files (eg Word 5.1 application or extensions/ Font suitcases etc) and could not be read.
    Is there a way round this?
    Or is there any way I can mount/read/write from the generic USB Floppy DRIVE with Sheepshaver (with 7.5.3)?
    Any help or advice would be most appreciated.

    >surely there must be some Terminal command or workaround for 10.8 to be able to Format in HFS?
    Using dd to write an existing HFS disk image to a floppy may still work (but formatting/writing HFS from the operating system does not). You may want to compare this with the technique described in the article below. Obviously, this is only of interest if one wants to try creating floppies from certain (Disk Copy 4.2-style) downloaded 1.44 MB disk images.
    http://lowendmac.com/brierley/08pb/classic-mac-boot-floppy.html
    >If I got hold of an old iBook or Powerbook G4 (my sister has one) could I plug the USB Floppy drive I have into one of these and copy files over this way?
    At least according to the following Wikipedia article, writing HFS has not been supported since Mac OS X 10.6. This should mean that your idea with the USB floppy drive connected to one of the older computers mentioned could work. BTW, I do not think that the USB floppy drive type/make/model is of importance in this very context.
    Another idea could possibly be to use an even older intermediate computer for other file transfer methods (without a floppy).
    A PowerBook 520/520c/540/540c could run Mac OS 8.1, if at all necessary. It has built-in Ethernet (an external AAUI to RJ-45 transceiver is used), which would allow TCP/IP connections over a network. A LocalTalk connection to the SE/30 can be established via a plain Macintosh MiniDIN-8M to MiniDIN-8M printer cable. With the correct SCSI cable/adapter, one could also use the PowerBook as an external hard disk for the SE/30 in SCSI disk mode.
    A PowerBook 5300 can run Mac OS 8.1 or higher, if necessary. It does not have built-in Ethernet, but a PC Card (PCMCIA) network card can be used. Furthermore, with an inexpensive PC Card adapter for CompactFlash and a CompactFlash memory card, the computer would have a simple removable "hard disk". The CF card (in Mac or PC format) can be read by a modern computer (a USB reader may be needed), making it ideal for file transfers. LocalTalk can be used here too, and so can SCSI disk mode (HD target mode).
    Jan

  • Can I use multiple p class="logos" tag with the same name within the same html page?

    I was told not to use <div class> tags too many times. I was using them for text, images, to clear floats, I basically built my website using multiple <div class> tags. So if I can't use multiple <div class> tags could I use <p class> tags multiple times in the same html page?
    I have a string of logos at the bottom of my webpage which will all be using the same css characteristics for all logos. Would this be the proper way to write the code:
    HTML
    <p class="logos">Logo1<a href="...></a></p>
    <p class="logos">Logo2<a href="...></a></p>
    <p class="logos">Logo3<a href="...></a></p>
    <p class="logos">Logo4<a href="...></a></p>
    <p class="logos">Logo5<a href="...></a></p>
    <p class="logos">Logo6<a href="...></a></p>
    CSS
    .logos {
    margin-left:10px;
    Here's my website: http://www.darbymanufacturing.com/test_website/index.html - this is the website built with all div class tags
    I restarted the website in order to write the code properly so that I don't come to errors when uploading on the server like I am having with the website link above.

    Instead of writing something like this -
    <p class="logos">Logo1<a href="...></a></p>
    <p class="logos">Logo2<a href="...></a></p>
    <p class="logos">Logo3<a href="...></a></p>
    <p class="logos">Logo4<a href="...></a></p>
    <p class="logos">Logo5<a href="...></a></p>
    <p class="logos">Logo6<a href="...></a></p>
    Why not have something like this -
    <div id="logodiv">
    <p>Logo1<a href="...></a></p>
    <p>Logo2<a href="...></a></p>
    <p>Logo3<a href="...></a></p>
    <p>Logo4<a href="...></a></p>
    <p>Logo5<a href="...></a></p>
    <p>Logo6<a href="...></a></p>
    </div>
    with CSS like this -
    #logodiv p { ... }

  • How can I write HTML code in this forums

    Sorry but I didn't know where to post this thread.....
    How can I write HTML code in this forums?

    Hello,
    Every piece of code in your post should be wrapped with the forum tags [ code] and [ /code], without the blanks.
    In case of the &lt;a> tag, that is not enough. In this case, you have several options. The most elegant one is to use the entity name for the less-then sign - & lt; - without any spaces. Other options is to add a space between the less-then and the ‘a’ character (and make a note of it) or change the less-then character with a left bracket one.
    When posting code, you should always use the forum preview option, just to make sure the forum software “understood” your code correctly.
    Hope this helps,
    Arie.

  • Can i use id on html:select syntax...

    Hi,
    i am using the following code to take data from the database directly to a dropdown box.
    <html:select property="lddate" style = "width:160">
    <html:option value="--SELECT--">SELECT</html:option>
    <html:options collection="loadDateList" name="almRecordsNotProcessedBO" property="lddate"
    labelProperty="lddate"/>
    </html:select>
    then after selecting the load-date from the drop-down box & clkng on submit button page is wrkng fine but in the dropdown it not showing the selected date.it is showing the default 1st entry in the drop-down box.
    Now i using a javascript for showing the selected date::::
    <script type="text/javascript">
    function getText(){
    var x=document.getElementById("aSelectControl")
    alert(x.options[x.selectedIndex].text)
    </script>
    But here i needed an id . In my Drop-down select code where i shuld use this id..i dont understand..i have checked for syntax of html:select but there is no id tag attribute of html:select.can anyone suggest me any other idea how to show that.
    can any one help me ..its very very urngent. i got stuck..plzzzz
    I have checked in the internet there is a select syntax where i can make use that id..
    Select the load date:
    <select id="aSelectControl">
    <option>25-12-2011</option>
    <option>26-11-2011</option>
    <option>27-11-2011</option>
    </select>
    But here the problem is i have to write the dates in a jsp page..but its not poss for my case...i have to take the date from databse. can any one tell me if i using the above query how to take data from the database.
    plzzzz help me..

    can anyone say where i am wrong in follwing syntax..
    function changeText2(val){
         var index = document.getElementById('prodlvl0').selectedIndex;
         alert("value="+document.getElementById('prodlvl0').value);
    alert("text="+document.getElementById('prodlvl0').options[index].text);
    <td class = "almtdheight" width="37%">
    <html:select property="lddate" style = "width:160" styleId="prodlvl0" onclick="changeText2(this.value)">
    <html:option value="--SELECT--">SELECT</html:option>
    <html:options collection="loadDateList" name="almRecordsNotProcessedBO" property="lddate" labelProperty="lddate"/>
    </html:select>
    </td>
    its not wrkng...

  • Can i write Html code inside JSP method???

    hi i am newbie to jsp and servlets. i am working on a project where i have to use same html code for two conditions in jsp. my question is can i write that html code inside any method in jsp?? and then can i call that method within that if and else scope. can anyone help me with this??

    I don't think that does what you think it does.
    <%!
    void renderStateSelect(String default) { %>Creates a method with that signature and an open brace...
    <select name="state"> puts:
    out.println("<select name=\"state\">");
    into the _jspService method
    <%!
    // logic to loop thru states
    %>Puts the loop logic after the brace opening up the method renderStateSelect
    </select>puts
    out.println("</select>");
    in the _jspService method
    <%!
    %>Closes the renderStateSelect method.
    So if I do this:
    <html>
    <body>
    <%!
    void renderStateSelect(String def) { %>
    <select name="state">
    <%!
    // logic to loop thru states
    %>
    </select>
    <%!
    %>
    Hello<br/>
    <% renderStateSelect("none"); %>
    Everybody
    </body>
    </html>The html output is:
    <html>
    <body>
    <select name="state">
    </select>
    Hello<br/>
    Everybody
    </body>
    </html> The 'renderStateSelect method does not render the state select. The _jspService method does, in place where the HTML is written in the JSP file.  As another look, the translated servlet looks like this:
    package org.apache.jsp;
    public final class IsThisOk_jsp extends org.apache.jasper.runtime.HttpJspBase
        implements org.apache.jasper.runtime.JspSourceDependent {
    void renderStateSelect(String def) {
    // logic to loop thru states
      public void _jspService(HttpServletRequest request, HttpServletResponse response)
            throws java.io.IOException, ServletException {
        try {
          out.write("<html>\r\n<body>\r\n");
          out.write("<select name=\"state\">\r\n");
          out.write("</select>\r\n");
          out.write(" \r\nHello<br/>\r\n");
    renderStateSelect("none");
          out.write("\r\nEverybody\r\n</body>\r\n</html>\r\n ");
    }See. Any plain HTML code you put outside of the <%! %> tags is converted to out.printlns inside the _jspService method (in place where they occured in the JSP, not where the method you want to do the rendering is called...)
    So unless I completely misunderstood your intent here, this apprach does not work.

Maybe you are looking for