How do I view my html codes on my macbook pro?

I know my coding is perfect, I used to work on the pc with it. Now moving to a Mac... I'm having such difficulty its starting to frustrate me. I've googled ways to solve it and they all say change the rich text and so on so forth. I've done that yet no change has occured for me. When I bought this, I asked if I could do my codes on it and the guy said yes, that I could do it straight from my textedit. It seems he lied or Im screwing up somewhere.
Please if anyone has the answer to this problem let me know what I'm doing wrong. I'd gladly appreciate it.

ShellB89 wrote:
yes fane my code line is perfect meaning that it is flawless
Gosh! They must've broken the mold after you.
i used notepad on the pc and just saved as .html
So use TextEdit and save as .html. When you invoke the Save dialogue, enter .html as the file name extension; if .txt is entered automatically, replace it with .html.
i am having a problem saving as a .html
What's the problem?
being able to preview my work
Close your .html file and open it again in TextEdit or Safari or another browser. TextEdit's behaviour is controlled by the Open and Save preference. If "Ignore rich text commands in HTML files" is checked, TextEdit will not interpret the HTML markup. If it is disabled, TextEdit will render the HTML markup. "Ignore rich text commands" also appears in the Open dialogue, so you can defeat per file this option.
i simply see the html typed in txt format the way i saved it not background color title or anything.
I suppose you mean the HTML markup is not rendered. See above. If you mean syntax highlighting, that's different, but, AFAIK, Notepad does not feature syntax highlighting.
For HTML work, you should probably check out
TextWrangler
<http://www.barebones.com/products/textwrangler/>
which is free, but a good deal more powerful than TextEdit, and does feature syntax highlighting.

Similar Messages

  • How do I view an external display with my macbook pro closed?

    How do I view an external display with my macbook pro closed?  I am using  a wireless keyboard and trackpad, and I would like to use a larger (Dell) monitor with my Macbook Pro closed.

    Here are the rules for Clamshell mode:
    http://support.apple.com/kb/HT3131

  • How do i set a locking code to my macBook Pro?

    How do I set a locking code on my MacBook Pro?

    >system Preferences>Users &Groups
    Unlock the padlock
    Login options
    turn off automatic login

  • How can I get the HTML codes in illustrator?

    Hi, I am a graphic designer, and I am getting into the web world, I wanna know how can I get the HTML codes to upload a web design made using Illustrator,...¡?Does any one know?Please let me know...

    everyone here is right, dreamweaver is better and you will need to understand html for this to work. HOWEVER, you can make a functional website using just illustrator and notepad (or text edit if you're on a mac).
    Design your site in illy, slice it up with the slice tool. http://s23.postimg.org/mv311kpp7/test_illy.jpg 
    Save for web and select html and images, you'll get an html file and an images folder. Open the HTML file in your text editing program and it will look like this: http://s10.postimg.org/f32nf6r2h/html_stuff.jpg   you'll have to know HTML codes but you can find tutorials online for most stuff, you'll just have to figure it out. In my fake site, i linked a button to google so i had to add <a href> tags to the code. http://s22.postimg.org/5avpadhch/a_href.jpg  save the html file and open it in your web browser, hopefully not IE. You can't tell in the picture but the middle button actually does link to google. http://s21.postimg.org/qd77slqmf/firefox.jpg

  • How can I view the source code of chrome://browser/content/browser.xul?

    How can I view the source code of chrome://browser/content/browser.xul of mobile FireFox?
    In my desktop version I just open this page in new tab and view webpage source, but there is no option for FF mobile to view source code.
    Best regards.

    Does the view-source: protocol work on mobile?
    *view-source:chrome://browser/content/browser.xul

  • Viewing downloaded html-code in a webview -AppleEventhandler failed(-10000)

    I am trying to view downloaded html-code in a webview in AppleScript Studio. Showing the raw html text in the textwindow works ok, but I am getting an error message trying to output the code to the webview.
    I really googled for a solution to this before posting, but haven´t found anything.
    It´s the last line "call method "loadHTMLString:baseURL:"....." that is giving me the error.
    What´s wrong?
    on launched theObject
    -- this downloads the source from www.google.com into the variable myhtml
    -- and displays the source in a text view window:
    set myhtml to do shell script "curl www.google.com"
    set contents of text view "textwindow" of scroll view "textwindow" of window "textwindow" to myhtml
    -- this should give a variable that points to the webview in the webview window
    -- everything in this window is labeled "webwindow" in the applescript properties in IB:
    set webwindow to call method "mainFrame" of object (view "webwindow" of window "webwindow")
    call method "loadHTMLString:baseURL:" of webwindow with parameters {myhtml, null}
    end launched
    AppleScript Error
    AppleEvent handler failed. (-10000)
    [Session started at 2008-12-30 14:09:48 +0100.]
    2008-12-30 14:09:49.395 webkladd2[15485:10b] * -[NSCFNumber absoluteURL]: unrecognized selector sent to instance 0x2cea40
    2008-12-30 14:09:49.397 webkladd2[15485:10b] An exception was thrown during execution of an NSScriptCommand...
    2008-12-30 14:09:49.399 webkladd2[15485:10b] * -[NSCFNumber absoluteURL]: unrecognized selector sent to instance 0x2cea40

    Hello
    IF I'm not mistaken, you should provide "http://www.google.com/" for baseURL of your html source obtained from "http://www.google.com" unless this page defines its own base.
    So you might try something like -
    --SNIPPET
    set myhtml to do shell script ("curl " & "http://www.google.com")
    set nsstring to call method "stringWithString:" of class "NSString" with parameter "http://www.google.com/"
    set urlstring to call method "stringByAddingPercentEscapesUsingEncoding:" of nsstring with parameter 4 -- UTF-8
    set nsurl to call method "URLWithString:" of class "NSURL" with parameter urlstring
    set webwindow to call method "mainFrame" of object (view "webwindow" of window "webwindow")
    call method "loadHTMLString:baseURL:" of webwindow with parameters {myhtml, nsurl}
    --END OF SNIPPET
    cf.
    http://developer.apple.com/documentation/Cocoa/Reference/Foundation/ObjC_classic /
    Snippet is NOT tested, though I did go by the book as best I could.
    Good luck,
    H

  • How can I get the old view of iCal back on my MacBook Pro and iPhone?

    How can I get the old view of iCal back on my MacBook Pro and iPhone?  The Mavrick version is crisp and clean but a colored dot is not the same as a highlighted word. I rely on my iCal on my MacBook Pro and iPhone 5 to help me track which of the 8 sites I visit for my job during the week - the color coding is (was key) to organizing and tracking meetings.  I hate the upgrade! 

    If purchased through the Mac App Store then it can be installed on up to five authorized CPUs. Otherwise, it's controlled by the license that came with the software.
    To install on another computer copy the downloaded installer application to the other computer.

  • How do I view a wphoto dvd on my MacBook?

    How do I view a wphoto dvd on my MacBook?

    Use the preinstalled DVD Player; it may or may not open automatically depending on the settings in the CDs & DVDs pane of System Preferences.
    (124048)

  • How can I activate Creative Suite on my new macbook pro - i have the codes.  Error 150:30

    How can I activate Creative Suite on my new macbook pro... they weren't deactivated on my old computer which is in for repair and will be restored to factory settings?  Thanks.

    Reinstall the software properly, don't use Migration Assistant/ Tmemachine.
    Mylenium

  • How can I install Snow Leopard on my 15" MacBook Pro without using its DVD drive?

    How can I install Snow Leopard on my 15" MacBook Pro without using its DVD drive?

    I'm assuming your dvd drive is broken? if you have a thumb drive large enough (8GB or better), you can use another computer to make a bootable image from the install dvd to the thumb drive. then you can install from the the thumb drive.
    Ihttp://www.maciverse.com/install-os-x-snow-leopard-from-usb-flash-drive.html
    that's a step by step walkthrough.

  • How do i get the GBP sign on my macbook pro

    HI how do i get the GBP sign on my macbook pro ?
    Thanks

    You hold down the Option key and type a 3 on a US standard keyboard.
    Or you open System Preferences / Keyboard, tick the Show Keyboard & Character viewers option. That will pop up a menulet in the menu bar from which you can choose the Keyboard Viewer item. In turn, that pops up a mini-floater on the screen, mimicking your keyboard and showing what characters are produced as you press any of the keys.

  • How do I get visual basic 2010 on my macbook pro?

    How do I get visual basic 2010 on my macbook pro?

    The Mac version is called Real Studio
    That is not the same as Visual Basic.  It is similar, but not the same.  Unless something has changed in the last few years, it will not execute or create Visual Basic code.  That may or may not be important to the OP, depending on whether he actually needs VB or just a product that is similar, but is an important point he needs to be aware of.

  • How do I fix flashing blue screen on my MacBook Pro 13"?

    Just recently my MBP started constantly flashing a blue screen, I've only had this computer for about 4 months. Quite annoying to tell you the truth. Does anybody have any advice that they can give me? I know the problem has been going on for a while, but all the forums that I've read are not that clear on how to fix it. Help...

      MacBook Pro
    https://discussions.apple.com/community/notebooks/macbook_pro
    https://discussions.apple.com/community/mac_os?view=discussions
    http://www.apple.com/support/macbookpro

  • How do I burn imovie to dvd on my macbook pro that can be read by dvd player to watch on my TV.

    How do I burn imovie to dvd on my macbook pro that can be read by dvd player to watch on my TV.

    Purchase iLife 11  (includes iDVD) on disk.
    IDVD is a wonderful piece of software and well worth the low cost of $40.
    http://www.amazon.com/Apple-MC623Z-A-iLife-VERSION/dp/B003XKRZES/ref=sr_1_1?ie=U
    http://dealmac.com/lw/artclick.html?1,527850,1872219
    Yes, there are programs that will put a movie on a DVD.   I have tried most of the other substitutes including Toast, Burn, DVD Creator, Wondershare, and others.  None of them come anywhere near the ease-of-use and power of iDVD. IDVD is specifically designed to work with iMovie.

  • How do i use an external display with my macbook pro?

    How do I use an external display with a macbook pro?

    Just buy the proper adapter cord, such as MiniDisplay port to HDMI for example.  Plug it in and it will be automatically recognized.  Use System Preferences > Displays to set options.
    The display can Mirror your primary desktop or Extend the Desktop.
    Regards,
    Captfred

Maybe you are looking for

  • Download/Upload Function group???

    Hi, How to download function group from one system and upload it to another system. Here transporting the request is not possible. Hence it requires to be downloded first on to one system and uploaded to another system. How it can be done?? Thanks an

  • My daughter help down the home button and the screen is now glowing, how do i tuen it back to normal?

    help me,daughter held down home button aqnd my screen is glowing, kida, where the back ground was black it is now white.  its kinda like a backlight or something. how do i put it back to normal?

  • Firefox won't open at all. None of the troubleshooting suggestions work

    Everytime I click on firefox it does not open at all. I checked to see if a previous window never closed. I uninstalled and reinstalled it. I shut down and restarted my computer several times and I don't know what else to do.

  • How to chance colors on iPhone calendars

    I sync Mac iCAl via Exchange in the cloud with my iPhone. Works fine but for one problem: colors on the iphone. I use separate calendars under iCal and Exchange so I can look at my ical month and see different events at a glance: red for kids, green

  • FPGA Reset during power loss? NI 9802 Module

    We have recently started using the NI 9802 on a cRIO system. We are getting the error -65550 discussed here: http://digital.ni.com/public.nsf/allkb/BD118434E87B9732862575C8006FD7FB The article says that the error can be caused by the FPGA resetting w